Sending Messages Between Controllers in Angular.js
Oct 19, 2013
If you're building a web application in angular.js, chances are you will have to send a message between
one or more controllers. This is fairly simple to do through the use of services and callbacks.
this is an overly simple example. You'll probably want to set up an events array so you can subscribe
more than one action at a time, but this should be enough to get you started.
Here is a jsfiddle example if you need a little more context.