Angular HTTP ASYNC FALSO
// add async:false to config like so to make http call blocking
return $http({
url : 'https://mywebsite.com/api_whatever.php'
method : 'GET',
async : false
}).success(function(data) {;
};
Friendly Hawk