X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fapp%2Fapp.module.ts;h=c66df3ca6618e7fc15c2c44af9f3726562a8dce8;hb=bf2c0b48e2a1a30943716a66b72ae0f1e9de2d6f;hp=f65716351aa5930fea545e1e3f016e2980c1f483;hpb=fe13c256eb0be311a34d88c35f91b3d519b19f12;p=examples%2Fangular-tour-of-heroes diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f657163..c66df3c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,14 +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 + AppComponent, + HeroesComponent, + HeroDetailComponent, + MessagesComponent ], imports: [ - BrowserModule + BrowserModule, + AppRoutingModule, + FormsModule ], providers: [], bootstrap: [AppComponent]