SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 0 JavaScript

feat($q): $q.all() now accepts hash

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.
A
Alexander Shtuchkin committed
e27bb6eb132a68665c8fca3f5a216b19b1129ba6
Parent: 7b236b2
Committed by Igor Minar <igor@angularjs.org> on 2/25/2013, 6:58:05 PM