mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
34 lines
950 B
TypeScript
34 lines
950 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { FormsModule } from '@angular/forms';
|
|
import { HttpModule } from '@angular/http';
|
|
|
|
//import { InMemoryWebApiModule } from 'angular-in-memory-web-api';
|
|
//import { InMemoryDataService } from './in-memory-data.service';
|
|
|
|
import './rxjs-extensions';
|
|
import { AppComponent } from './app.component';
|
|
import { AppRoutingModule, routedComponents } from './app-routing.module';
|
|
import { HeroService } from './hero.service';
|
|
import { HeroSearchComponent } from './hero-search.component';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
BrowserModule,
|
|
FormsModule,
|
|
AppRoutingModule,
|
|
HttpModule//,
|
|
//InMemoryWebApiModule.forRoot(InMemoryDataService, { delay: 600 })
|
|
],
|
|
declarations: [
|
|
AppComponent,
|
|
HeroSearchComponent,
|
|
routedComponents
|
|
],
|
|
providers: [
|
|
HeroService
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|