blob: 5a0da11a8ec6475a2182fe133870bd3d60a2958d [file] [log] [blame]
(function() {
'use strict';
angular.module('xos.helpers')
/**
* @ngdoc service
* @name xos.helpers.Slices
* @description Angular resource to fetch /api/core/slices/:id/
**/
.service('Slices', function($resource){
return $resource('/api/core/slices/:id/', { id: '@id' }, {
update: { method: 'PUT' }
});
})
})();