blob: 5a0da11a8ec6475a2182fe133870bd3d60a2958d [file] [log] [blame]
Matteo Scandolob71510b2016-04-29 09:56:48 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Slices
8 * @description Angular resource to fetch /api/core/slices/:id/
9 **/
10 .service('Slices', function($resource){
11 return $resource('/api/core/slices/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();