Usage of factory, service and providers
This question already has an answer here:
You can read in
AngularJS: Service vs provider vs factory and
https://github.com/johnpapa/angular-styleguide/tree/master/a1#factories
Hope it help !
链接地址: http://www.djcxy.com/p/77814.html上一篇: 使用AngularJS将服务注入控制器
下一篇: 工厂,服务和提供商的使用