Using rootScope  accessing the callback set...

Using rootScope is very bad idea. It has to be implemented using
service.