Does the rootScope need to be injected here?