Question : Setting up HttpClient
Answered by : filthy-finch-t1u9njob94vm
import { HttpClientModule } from '@angular/common/http'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, HttpClientModule ], bootstrap: [AppComponent] }) export class AppModule { }
Source : https://www.techiediaries.com/angular-by-example-httpclient-get/ | Last Update : Thu, 17 Jun 21