X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fapp.module.ts;h=c66df3ca6618e7fc15c2c44af9f3726562a8dce8;hb=bf2c0b48e2a1a30943716a66b72ae0f1e9de2d6f;hp=40ad7e6a5a2a9c7954fecc1fa8a28ea339ed4dd1;hpb=b9527a5cd012df19c71953671e4fc4c24e91e9e4;p=examples%2Fangular-tour-of-heroes diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 40ad7e6..c66df3c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,16 +1,24 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; +import { AppRoutingModule } from './app-routing.module'; +import { FormsModule } from '@angular/forms'; import { AppComponent } from './app.component'; import { HeroesComponent } from './heroes/heroes.component'; +import { HeroDetailComponent } from './hero-detail/hero-detail.component'; +import { MessagesComponent } from './messages/messages.component'; @NgModule({ declarations: [ AppComponent, - HeroesComponent + HeroesComponent, + HeroDetailComponent, + MessagesComponent ], imports: [ - BrowserModule + BrowserModule, + AppRoutingModule, + FormsModule ], providers: [], bootstrap: [AppComponent]