2016-08-09 12:38:25 -04:00
|
|
|
// #docplaster
|
|
|
|
// #docregion
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
|
|
|
|
// #docregion router-basics
|
2016-08-27 00:19:27 -04:00
|
|
|
import { AppComponent } from './app.component';
|
2016-08-09 12:38:25 -04:00
|
|
|
import { routing,
|
2016-08-27 00:19:27 -04:00
|
|
|
appRoutingProviders } from './app.routing';
|
2016-08-09 12:38:25 -04:00
|
|
|
|
|
|
|
import { HeroListComponent } from './hero-list.component';
|
|
|
|
import { CrisisListComponent } from './crisis-list.component';
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
FormsModule,
|
|
|
|
routing
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
|
|
|
HeroListComponent,
|
|
|
|
CrisisListComponent
|
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
appRoutingProviders
|
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
|
|
|
// #enddocregion router-basics
|
|
|
|
export class AppModule {
|
|
|
|
}
|
|
|
|
// #enddocregion
|