communicating between scopes with $rootScope.$broadcast and $on