Switching to use approved $timeout instead of $rootScope.$$phase check