AngularJS $emit $broadcast $on
If you’re building a large Angular app it’s only a matter of time before you will want your parent and child controllers to talk to each other in response to events. A simple example is when you may use a global controller and controllers for specific views.
AngularJS $emit $broadcast $on Read More »