angularjs $q.all() - Combining promises in AngularJS Using $q.all() in AngularJS couldn't be simpler. $q is an Angular Service which facilitates running functions asynchronously. It's based on a library (Q) by Kris Kowal. $q.all() allows us to wait on an array (or object) of promises, $q.all() will combine