$q.all

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

Orchestrating the handling of multiple promises in AngularJS is simple if you take advantage of $q.all. Using $q.all will take your promises, wait until they have all resolved and return the result of all the promises as an ordered array.