AngularJS Error: $injector:unpr Unknown Provider

后端 未结 13 860
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 08:10

I\'m trying to build my own service by following the example in the documentation for the factory methodology. I think I\'ve done something wrong however because I continue

相关标签:
13条回答
  • 2020-12-13 09:11

    Please "include" both Controller and the module(s) where the controller and the functions called in the Controller are.

    module(theModule);
    
    0 讨论(0)
提交回复
热议问题