Removed $rootScope