NullInjectorError: R3InjectorError(DashboardModule)[DatabaseService -> DatabaseService -> HttpClient code example
Example: NullInjectorError: R3InjectorError(DashboardModule)[DatabaseService -> DatabaseService -> HttpClient
// missing import on app.module.ts
import { HttpClientModule } from '@angular/common/http';
@NgModule({
imports: [
HttpClientModule
]