githubtrue/frontend/app/services/RangeService.js @ e142f684
1 |
angular.module('pvpk') |
---|---|
2 |
.factory('Range', ['$resource', 'config', function ($resource, config) { |
3 |
return $resource(config.API_URL + '/range', null, { |
4 |
'get': { |
5 |
url: config.API_URL + '/range', |
6 |
method: 'GET', |
7 |
headers: { |
8 |
'Content-Type': 'application/json', |
9 |
'Accept': 'application/json', |
10 |
'jwt': config.API_TOKEN |
11 |
}
|
12 |
}
|
13 |
});
|
14 |
}]);
|