Uncaught (in promise): Error: StaticInjectorError(AppModule)[options]

后端 未结 8 1707
借酒劲吻你
借酒劲吻你 2020-12-01 14:08

I have a strange error. Usually (I did my googling), in this case of errors Angular specifies in square brackets which exactly module/service/provider/etc caused the problem

8条回答
  •  半阙折子戏
    2020-12-01 14:16

    If we need to move from one component to another service then we have to define that service into app.module providers array.

提交回复
热议问题