This is an example of how to use a custom service to facilitate communicate between multiple controllers using $rootscope as an event bus.
No-Library (pure JS), HTML, CSS, JavaScript
AngularJS 1.1.1, HTML, CSS, JavaScript
jQuery 1.8.3, HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript