From 1e79014fc4d43fb248a8fd4851e0c8aea53c915b Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 24 Jul 2018 16:21:25 +0200 Subject: [PATCH] docs: replace angular/http with HttpClient (#25066) PR Close #25066 --- aio/content/examples/bootstrapping/src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/bootstrapping/src/app/app.module.ts b/aio/content/examples/bootstrapping/src/app/app.module.ts index 58c78b33ac..9b8a4fcaef 100644 --- a/aio/content/examples/bootstrapping/src/app/app.module.ts +++ b/aio/content/examples/bootstrapping/src/app/app.module.ts @@ -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]