test $rootScope