This is an example of how to use a custom service to facilitate communicate between multiple controllers using $rootscope as an event bus.
http://angularjs.org/
No-Library (pure JS), HTML, CSS, JavaScript
jQuery 1.6.4, HTML, CSS, JavaScript