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