Runtime Error Uncaught (in promise): Error: StaticInjectorError[HTTP]: StaticInjectorError[HTTP]: NullInjectorError: No provider for HTTP!


#21

I’ll go a step further and say you do not need and in fact do not want both. Mixing them can only lead to confusion: choose one and stick with it throughout the app.


#22

Perfectly agreed. Just mentioned that anybody may not need / use both 'cause I don’t know what kind of app they’re having to develop / migrate, as migrating everything may need some time of the team.


#23

Thanks , it worked for me.