2016-08-09 17:38:25 +01:00
|
|
|
// #docregion
|
2017-01-13 13:21:22 -08:00
|
|
|
import { NgModule } from '@angular/core';
|
2016-08-09 17:38:25 +01:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
2017-01-13 13:21:22 -08:00
|
|
|
import { FormsModule } from '@angular/forms';
|
2016-08-09 17:38:25 +01:00
|
|
|
|
2017-01-13 13:21:22 -08:00
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { HeroTaxReturnComponent } from './hero-tax-return.component';
|
|
|
|
import { HeroesListComponent } from './heroes-list.component';
|
|
|
|
import { HeroesService } from './heroes.service';
|
|
|
|
import { VillainsListComponent } from './villains-list.component';
|
|
|
|
|
|
|
|
import { carComponents, carServices } from './car.components';
|
2016-08-09 17:38:25 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
FormsModule
|
|
|
|
],
|
2017-01-13 13:21:22 -08:00
|
|
|
providers: [
|
|
|
|
carServices,
|
|
|
|
HeroesService
|
|
|
|
],
|
2016-08-09 17:38:25 +01:00
|
|
|
declarations: [
|
2017-01-13 13:21:22 -08:00
|
|
|
AppComponent,
|
|
|
|
carComponents,
|
2016-08-09 17:38:25 +01:00
|
|
|
HeroesListComponent,
|
2017-01-13 13:21:22 -08:00
|
|
|
HeroTaxReturnComponent,
|
|
|
|
VillainsListComponent
|
2016-08-09 17:38:25 +01:00
|
|
|
],
|
2017-01-13 13:21:22 -08:00
|
|
|
bootstrap: [ AppComponent ]
|
2016-08-09 17:38:25 +01:00
|
|
|
})
|
|
|
|
export class AppModule { }
|
|
|
|
|