阅读背景:

Angular.js如何将$ scope注入$ scope.on()的指令()?

来源:互联网 

for the directive I wrote, how do I get $scope in there so I can do $scope.$on()? I could inject $rootScope, but I want to use $scope to catch the broadcast. for the directive I wrote, how do I get $scope




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: