$timeout is a wrapper around JavaScript’s setTimeout, ensuring execution within Angular’s digest cycle.
$timeout
setTimeout
$timeout(function() { $scope.message = "Hello, AngularJS!"; }, 1000);