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

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

View File

@ -5,7 +5,7 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component';
// #docregion directive-import
@ -24,7 +24,7 @@ import { ItemDirective } from './item.directive';
imports: [
BrowserModule,
FormsModule,
HttpModule
HttpClientModule
],
providers: [],
bootstrap: [AppComponent]