Files
angular/angular.io/src/app/app.module.ts
T
Ward Bell 2e1413016e feat(aio): refactor DocViewer w/ services component builder (#14294)
Adds basic functionality to fetch documents and display them based on the v42 prototype 

https://github.com/igorMinar/angular-io-v42
2017-02-07 12:57:18 -08:00

36 lines
965 B
TypeScript

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpModule } from '@angular/http';
import { MdToolbarModule } from '@angular/material/toolbar';
import { MdButtonModule} from '@angular/material/button';
import { AppComponent } from './app.component';
import { DocViewerComponent } from './doc-viewer/doc-viewer.component';
import { embeddedComponents, EmbeddedComponents } from './embedded';
import { Logger } from './logger.service';
import { navDirectives, navProviders } from './nav-engine';
@NgModule({
imports: [
BrowserModule,
HttpModule,
MdToolbarModule.forRoot(),
MdButtonModule.forRoot()
],
declarations: [
AppComponent,
embeddedComponents,
DocViewerComponent,
navDirectives,
],
providers: [
EmbeddedComponents,
Logger,
navProviders
],
entryComponents: [ embeddedComponents ],
bootstrap: [AppComponent]
})
export class AppModule {
}