Mountain View


StaticInjectorError(AppModule) in Angular.

Posted On : 09-Jan-2019 [253]




StaticInjectorError(AppModule) in Angular.


Add your service name in providers in one of the below

@NgModule({
  ...
  providers: [ yourServiceName ]
})

@Component({
  ...
  providers: [ yourServiceName ]
})




Related Articles
Recent Articles
Most Viewed Articles