Share Close
Select Where You Want To Share:
Go Ahead and Share This Blog and Watch The Views Soar!
Shared Blogs Receive 98% More Views!
Share On SB Share this on Facebook Share this on Twitter Share this on LinkedIn Share this on Digg Share this on Tumblr Share this on Reddit Blog This on Blogger Share this on Pinterest
Understanding $emit, $broadcast and $on in AngularJS
https://www.storeboard.com/blogs/technology/understanding-$emit-$broadcast-and-$on-in-angularjs/597440  
Copy
Sometimes we need to send data from one controller to another. There are services provided by AngularJS for communication(event-based) between the controllers. $on, $emit, $broadcast are the services for the communication between the controllers. - See more at: http://findnerd.com/list/view/Understanding-emit-broadcast-and-on-in-AngularJS/15007/#sthash.ADvDiNeF.dpuf