Ideally in an angular application, controllers are independent units of code that have no reference to any other controllers. There are cases though in which you may need to communicate with other controllers in your application. For example you may have an Orders controller, that needs to tell a Cart controller that a new item has been added.
One of the best ways of accomplishing this type of communication is through the use of an event bus.
My favorite event bus framework is postal.js.
Your new post is loading...
http://jonathancreamer.com/building-decoupled-javascrip-applications-with-postal-js/