gular is running in the development mode. Call enableProdMode() to enable the production mode. core.js:6228 ERROR Error: Uncaught (in promise): NullInjectorError: R3InjectorError(AppModule)[AuthService -> AuthService -> AuthService]: code example
Example 1: NullInjectorError: No provider for HttpClient!
import { HttpClientModule } from '@angular/common/http';
Example 2: No provider for HttpClient!
import { HttpClientModule } from '@angular/common/http';