1 2 3 4 5 6 7 8
$scope.doRefresh = function() { var now = new Date(); wooFactory.requests() .then( function(now) { $scope.$root.now = now.toTimeString(); $scope.$broadcast('scroll.refreshComplete'); }); };
You can clone a snippet to your computer for local editing. Learn more.