diff --git a/aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts index fa3ee4def3..7848845cef 100644 --- a/aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts +++ b/aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts @@ -1,9 +1,9 @@ -import { BrowserModule } from '@angular/platform-browser'; +import { HttpClientModule } from '@angular/common/http'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { HttpModule } from '@angular/http'; -import { AppRoutingModule } from './app-routing.module'; +import { BrowserModule } from '@angular/platform-browser'; +import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @NgModule({ @@ -13,7 +13,7 @@ import { AppComponent } from './app.component'; imports: [ BrowserModule, FormsModule, - HttpModule, + HttpClientModule, AppRoutingModule ], providers: [],