I was trying to use my services
classes in components
, I did not get any compilation error, but got below error in browser console
ng:///CoreModule/LayoutComponent.ngfactory.js:418 ERROR Error: StaticInjectorError(AppModule)[ConnectionBackend]:
StaticInjectorError(Platform: core)[ConnectionBackend]: NullInjectorError: No provider for ConnectionBackend!