feat($interval): add a service wrapping setInterval
The $interval service simplifies creating and testing recurring tasks. This service does not increment $browser's outstanding request count, which means that scenario tests and Protractor tests will not timeout when a site uses a polling function registered by $interval. Provides a workaround for #2402. For unit tests, repeated tasks can be controlled using ngMock$interval's tick(), tickNext(), and tickAll() functions.
J
Julie committed
2b5ce84fca7b41fca24707e163ec6af84bc12e83
Parent: a80e96c
Committed by Vojta Jina <vojta.jina@gmail.com>
on 10/7/2013, 8:45:40 PM