0
在AngularJS中自动解析依赖关系背后的魔力是什么?AngularJS依赖注入原理
angular
.module('app', [])
.service('appService',
function appService (firstService, secondService, thirdService) { }
如何firstService,secondService,thirdService自动注入?
看看http://www.alexrothenberg.com/2013/02/11/the-magic-behind-angularjs-dependency-injection.html – Whisher