我有这个代码
$http({method: $scope.method, url: $scope.url, cache: $templateCache}).
success(function(data, status) {
$scope.status = status;
$scope.providers = data;
}).
error(function(data, status) {
$scope.providers2 = data || "Request failed";
$scope.status = status;
});
一旦我的承诺解决了,我想做某事,我该如何检查?
谢谢