32 lines
865 B
TypeScript
32 lines
865 B
TypeScript
// #docplaster
|
|
// #docregion
|
|
// #docregion hero-import
|
|
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
|
|
import { CrisisListComponent } from './crisis-list/crisis-list.component';
|
|
import { HeroListComponent } from './hero-list/hero-list.component';
|
|
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
AppRoutingModule
|
|
],
|
|
declarations: [
|
|
AppComponent,
|
|
HeroListComponent,
|
|
CrisisListComponent,
|
|
PageNotFoundComponent
|
|
],
|
|
bootstrap: [ AppComponent ]
|
|
})
|
|
// #enddocregion hero-import
|
|
export class AppModule { }
|
|
// #enddocregion
|