Closed Arjun-Shinojiya closed 5 years ago
See the compatibility table below, make sure you don't have version 6 of the ng-http-loader package installed. Downgrade to version 5 of the package and it should work with Angular 7.
ng-http-loader | Angular |
---|---|
>=0.1.0 <0.4.0 | ^4.3.0 |
>=0.4.0 <1.0.0 | ^5.0.0 |
>=1.0.0 <3.2.0 | ^6.0.0 |
>=3.2.0 <5.1.0 | ^7.0.0 |
>=6.0.0 | ^8.0.0 |
Thanks @asad-c , that's indeed the reason.
I tried to implement loader in angular 7.I am gettting this error.
Uncaught (in promise): TypeError: Object(...) is not a function TypeError: Object(...) is not a function at ng-http-loader.js:361