blob: 4fe9cb34d322d30c98ce9ba6ffe0b1c890f81af8 [file] [log] [blame]
arpiagariu4a872ad2016-06-10 13:13:36 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Images
8 * @description Angular resource to fetch /api/core/images/
9 **/
10 .service('Images', function($resource){
11 return $resource('/api/core/images/:id/', { id: '@id' }, {
12 update: { method: 'PUT' }
13 });
14 })
15})();