aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/qSpec.js
AgeCommit message (Collapse)Author
2013-04-24feat($q): add $q.always() methodLaurent Cozic
Add $q.always(callback) method that is always called whether the promise is successful or fails; includes unit tests and updates documentation.
2013-02-25feat($q): $q.all() now accepts hashAlexander Shtuchkin
When waiting for several promises at once, it is often desirable to have them by name, not just by index in array. Example of this kind of interface already implemented would be a $routeProvider.when(url, {resolve: <hash of promises>}), where resources/promises are given by names, and then results accessed by names in controller.
2012-04-02fix($q): $q.reject should forward callbacks if missingIgor Minar
$q.reject('some reason').then() should not blow up, but correctly forward the callbacks instead. Closes #845
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery