【发布时间】:2013-08-22 20:02:18
【问题描述】:
有没有办法阻止广播从父控制器传播到子控制器?
家长:
$scope.$on('event', function() {
//stop propagation
})
孩子:
$scope.$on('event', function() {
//only fired by this controller scope
})
【问题讨论】:
标签: angularjs broadcast angularjs-scope