docs: replace angular/http with HttpClient (#25068)

PR Close #25068
This commit is contained in:
Daniel 2018-07-24 16:24:24 +02:00 committed by Victor Berchet
parent 1e79014fc4
commit 777bd412b2
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// #docregion
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { HttpClientModule } from '@angular/common/http';
// import { AppRoutingModule } from './app-routing.module';
import { LocationStrategy,
@ -54,7 +54,7 @@ const c_components = [
imports: [
BrowserModule,
FormsModule,
HttpModule,
HttpClientModule,
InMemoryWebApiModule.forRoot(HeroData)
// AppRoutingModule TODO: add routes
],