karma NullInjectorError: No provider for HttpHandler! code example
Example: NullInjectorError: No provider for HttpHandler!
import { HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
BrowserModule,
HttpClientModule
],
...