NullInjectorError: No provider for HttpHandler!

JavaScript
import { HttpClientModule } from '@angular/common/http';

@NgModule({
 imports: [
   BrowserModule,
   HttpClientModule
 ],
 ...
Source

Also in JavaScript: