From 32a40ba5de621121252ee3c3fad62bcdfb45d9d0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 20 Jul 2018 14:54:39 +0200 Subject: [PATCH] docs: refactor http module import for style guide app.module (#25001) PR Close #25001 --- aio/content/examples/styleguide/src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/examples/styleguide/src/app/app.module.ts b/aio/content/examples/styleguide/src/app/app.module.ts index 1e974baf5f..236a542371 100644 --- a/aio/content/examples/styleguide/src/app/app.module.ts +++ b/aio/content/examples/styleguide/src/app/app.module.ts @@ -1,7 +1,7 @@ import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; -import { HttpModule } from '@angular/http'; +import { HttpClientModule } from '@angular/common/http'; import { InMemoryWebApiModule } from 'angular-in-memory-web-api'; import { RouterModule } from '@angular/router'; @@ -44,7 +44,7 @@ import * as s0901 from '../09-01/app/app.module'; @NgModule({ imports: [ BrowserModule, - HttpModule, + HttpClientModule, InMemoryWebApiModule.forRoot(HeroData), s0101.AppModule,