- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
function httpGet(url, params) {
var deferred = $q.defer();
$http.get(url, {params: params}).then(function (response) {
deferred.resolve(response);
}, function (response) {
deferred.reject(response);
});
return deferred.promise;
}
inho 04.09.2017 19:25 # −7
sigod 08.09.2017 02:42 # −12
P.S. JavaScript не защищаю.
SemaReal 12.09.2017 06:51 # −1