Use of $interval instead of setInterval() in angular >= 1.2.x

Use of $interval instead of setInterval() in angular >= 1.2.x
http://docs.angularjs.org/api/ng.$interval