removed extension of $rootScope