removed rootScope injection