c66df3ca6618e7fc15c2c44af9f3726562a8dce8
[examples/angular-tour-of-heroes] / src / app / app.module.ts
1 import { BrowserModule } from '@angular/platform-browser';
2 import { NgModule } from '@angular/core';
3 import { AppRoutingModule } from './app-routing.module';
4 import { FormsModule } from '@angular/forms';
5
6 import { AppComponent } from './app.component';
7 import { HeroesComponent } from './heroes/heroes.component';
8 import { HeroDetailComponent } from './hero-detail/hero-detail.component';
9 import { MessagesComponent } from './messages/messages.component';
10
11 @NgModule({
12   declarations: [
13     AppComponent,
14     HeroesComponent,
15     HeroDetailComponent,
16     MessagesComponent
17   ],
18   imports: [
19     BrowserModule,
20     AppRoutingModule,
21     FormsModule
22   ],
23   providers: [],
24   bootstrap: [AppComponent]
25 })
26 export class AppModule { }