📅  最后修改于: 2022-03-11 15:01:14.895000             🧑  作者: Mango
// 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) {;
};