http://angularjs.org/
This is an example of how to use a custom service to facilitate communicate between multiple controllers using pub/sub event bus.
Mootools Core 1.2.4, HTML, CSS, JavaScript