This is an example of how to use a custom service to facilitate communicate between multiple controllers using $rootscope as an event bus.