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

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.

1 Like

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.

Thanks , it worked for me.