2016-08-09 17:38:25 +01:00
|
|
|
// #docregion
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
|
2016-12-21 12:08:39 -08:00
|
|
|
import { AppComponent } from './app.component';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
2016-08-09 17:38:25 +01:00
|
|
|
|
2016-12-21 12:08:39 -08:00
|
|
|
import { HeroesModule } from './heroes/heroes.module';
|
|
|
|
import { ComposeMessageComponent } from './compose-message.component';
|
|
|
|
import { LoginRoutingModule } from './login-routing.module';
|
|
|
|
import { LoginComponent } from './login.component';
|
|
|
|
import { PageNotFoundComponent } from './not-found.component';
|
2016-08-09 17:38:25 +01:00
|
|
|
|
2016-12-21 12:08:39 -08:00
|
|
|
import { DialogService } from './dialog.service';
|
2016-08-09 17:38:25 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
FormsModule,
|
2016-08-26 23:19:27 -05:00
|
|
|
HeroesModule,
|
2016-10-05 16:59:09 -05:00
|
|
|
LoginRoutingModule,
|
|
|
|
AppRoutingModule
|
2016-08-09 17:38:25 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
2016-12-20 17:26:09 -06:00
|
|
|
ComposeMessageComponent,
|
2016-12-21 12:08:39 -08:00
|
|
|
LoginComponent,
|
|
|
|
PageNotFoundComponent
|
2016-08-09 17:38:25 +01:00
|
|
|
],
|
|
|
|
providers: [
|
|
|
|
DialogService
|
|
|
|
],
|
|
|
|
bootstrap: [ AppComponent ]
|
|
|
|
})
|
2016-12-21 12:08:39 -08:00
|
|
|
export class AppModule { }
|