$rootScope is unused