标签:io ar sp on cti bs js nbsp 调试
控制台调试
angular.element($0).scope() $0~$4
angular.element($("#controllerId")).scope()
依赖注入
angualar.module(‘myModule‘, []).
config([‘depProvider‘, function(depProvider){
...
}]).
factory(‘serviceId‘, [‘depService‘, function(depService) {
...
}]).
directive(‘directiveName‘, [‘depService‘, function(depService) {
...
}]).
filter(‘filterName‘, [‘depService‘, function(depService) {
...
}]).
run([‘depService‘, function(depService) {
...
}]);
标签:io ar sp on cti bs js nbsp 调试
原文地址:http://www.cnblogs.com/dfg727/p/4019485.html