blob: eda57e402a0ffb232ffc7b50cceedb59108cf2b4 [file] [log] [blame]
Matteo Scandolo896bb7b2016-05-06 14:10:11 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
Matteo Scandolo83d0ee12016-05-06 16:52:58 -07007 * @name xos.helpers.Services
Matteo Scandolo896bb7b2016-05-06 14:10:11 -07008 * @description Angular resource to fetch /api/core/services/:id/
9 **/
10 .service('Services', function($resource){
11 return $resource('/api/core/services/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();