X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fapp.module.ts;h=c66df3ca6618e7fc15c2c44af9f3726562a8dce8;hb=85f4c0710394f70f840038f5b3185e3adb8981e4;hp=bc5d60226cf26c9263b93616bc233ec6079815ba;hpb=45572edb5f831a6e05185eb1d45e255c8d6666fd;p=examples%2Fangular-tour-of-heroes diff --git a/src/app/app.module.ts b/src/app/app.module.ts index bc5d602..c66df3c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,17 +1,23 @@ 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, + AppRoutingModule, FormsModule ], providers: [],