importing httpmodule in angular cli 11 code example Example: httpmodule import angular 9 import { HttpClientModule } from '@angular/common/http';