Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var promise = $q.all(null);
angular.forEach(urls, function(url){
promise = promise.then(function(){
return $http({
method: 'GET',
//This is run after all of your HTTP requests are done
$scope.doneLoading = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.