Added missing $rootScope injection reference.