June 2014
Intermediate to advanced
696 pages
38h 52m
English
AngularJS’s $interval and $timeout services enable you to delay execution of code for an amount of time. These services interact with the JavaScript setInterval and setTimeout functionality—but within the AngularJS framework.
The $interval and $timeout services use the following syntax:
$interval(callback, delay, [count], [invokeApply]);$timeout(callback, delay, [invokeApply]);
The parameters are described below:
callback: Is executed when the delay has expired.
delay: Specifies the number of milliseconds to wait before executing the callback function.
count ...
Read now
Unlock full access