Add $rootScope dependency