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