26 lines
593 B
TypeScript
26 lines
593 B
TypeScript
|
|
// #docplaster
|
||
|
|
// #docregion app-module
|
||
|
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
|
import { NgModule } from '@angular/core';
|
||
|
|
import { FormsModule } from '@angular/forms';
|
||
|
|
import { HttpModule } from '@angular/http';
|
||
|
|
|
||
|
|
import { AppComponent } from './app.component';
|
||
|
|
// CoreModule provides the UserService.
|
||
|
|
import { CoreModule } from './core/core.module';
|
||
|
|
|
||
|
|
@NgModule({
|
||
|
|
declarations: [
|
||
|
|
AppComponent
|
||
|
|
],
|
||
|
|
imports: [
|
||
|
|
BrowserModule,
|
||
|
|
FormsModule,
|
||
|
|
HttpModule,
|
||
|
|
CoreModule
|
||
|
|
],
|
||
|
|
bootstrap: [AppComponent]
|
||
|
|
})
|
||
|
|
export class AppModule { }
|
||
|
|
// #enddocregion app-module
|