2017-01-27 03:20:51 -05:00
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { NgModule } from '@angular/core';
|
2017-02-07 15:57:18 -05:00
|
|
|
import { HttpModule } from '@angular/http';
|
2017-01-27 03:20:51 -05:00
|
|
|
import { MdToolbarModule } from '@angular/material/toolbar';
|
2017-02-02 15:10:47 -05:00
|
|
|
import { MdButtonModule} from '@angular/material/button';
|
2017-02-03 02:02:23 -05:00
|
|
|
|
|
|
|
import { AppComponent } from './app.component';
|
2017-02-02 15:10:47 -05:00
|
|
|
import { DocViewerComponent } from './doc-viewer/doc-viewer.component';
|
2017-02-07 15:57:18 -05:00
|
|
|
import { embeddedComponents, EmbeddedComponents } from './embedded';
|
|
|
|
import { Logger } from './logger.service';
|
|
|
|
import { navDirectives, navProviders } from './nav-engine';
|
2017-01-27 03:20:51 -05:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
2017-02-07 15:57:18 -05:00
|
|
|
HttpModule,
|
2017-01-27 03:20:51 -05:00
|
|
|
MdToolbarModule.forRoot(),
|
2017-02-02 15:10:47 -05:00
|
|
|
MdButtonModule.forRoot()
|
2017-01-27 03:20:51 -05:00
|
|
|
],
|
2017-02-03 02:02:23 -05:00
|
|
|
declarations: [
|
|
|
|
AppComponent,
|
2017-02-07 15:57:18 -05:00
|
|
|
embeddedComponents,
|
2017-02-03 02:02:23 -05:00
|
|
|
DocViewerComponent,
|
2017-02-07 15:57:18 -05:00
|
|
|
navDirectives,
|
2017-02-03 02:02:23 -05:00
|
|
|
],
|
2017-02-07 15:57:18 -05:00
|
|
|
providers: [
|
|
|
|
EmbeddedComponents,
|
|
|
|
Logger,
|
|
|
|
navProviders
|
|
|
|
],
|
|
|
|
entryComponents: [ embeddedComponents ],
|
2017-01-27 03:20:51 -05:00
|
|
|
bootstrap: [AppComponent]
|
|
|
|
})
|
2017-02-07 15:57:18 -05:00
|
|
|
export class AppModule {
|
|
|
|
}
|