diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 38fe57c..28d2538 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -7,7 +7,7 @@ import { HomeComponent } from './home/home.component'; import { ListComponent } from './list/list.component'; import { DetailComponent } from './detail/detail.component'; import {FormsModule} from "@angular/forms"; -import {HttpClientModule} from "@angular/common/http"; +import { HttpClientModule} from "@angular/common/http"; import { SafePipe } from './pipes/safe.pipe'; @NgModule({ @@ -16,7 +16,8 @@ import { SafePipe } from './pipes/safe.pipe'; HomeComponent, ListComponent, DetailComponent, - SafePipe + SafePipe, + HttpClientModule ], imports: [ BrowserModule, diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html index ad6a405..25ef5fe 100644 --- a/src/app/home/home.component.html +++ b/src/app/home/home.component.html @@ -1,13 +1,12 @@