test/fixtures/sample-files-extends/src/app/app.module.ts
The bootstrapper module
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { HomeModule } from './home/';
import { AppComponent } from './app.component';
import { TodoStore } from './shared/services/todo.store';
/* Routing Module */
import { AppRoutingModule } from './app-routing.module';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
import { NoopInterceptor } from './shared/interceptors/noopinterceptor.interceptor';
/**
* The bootstrapper module
*/
@NgModule({
declarations: [AppComponent],
imports: [HomeModule, AppRoutingModule],
providers: [
TodoStore,
{
provide: HTTP_INTERCEPTORS,
useClass: NoopInterceptor,
multi: true
}
],
bootstrap: [AppComponent]
})
export class AppModule {}