I\'m trying to bind to rootscope so that I can set presence on a different server when the user logins. Here\'s my module.
angular.module(\'presence\', [
The syntax was $rootScope.$watch('currentUser') not $rootScope.$watch($rootScope.currentUser)
$rootScope.$watch('currentUser')
$rootScope.$watch($rootScope.currentUser)