¡@

Home 

javascript Programming Glossary: firstctrl

$scope.$emit and .$on angularJS

http://stackoverflow.com/questions/14502006/scope-emit-and-on-angularjs

controller to other using . emit and . on methods function firstCtrl scope scope. emit 'someEvent' 1 2 3 function secondCtrl scope.. scopes relation but there are several options If scope of firstCtrl is parent of the secondCtrl scope your code should work by replacing.. your code should work by replacing emit by broadcast in firstCtrl function firstCtrl scope scope. broadcast 'someEvent' 1 2 3..