$interval
Improve this Doc View Source $interval
- service in module ng
Angular's wrapper for window.setInterval
. The fn
function is executed every delay
milliseconds.
The return value of registering an interval function is a promise. This promise will be notified upon each tick of the interval, a