Matteo Scandolo | a5d03d5 | 2016-07-21 11:35:46 -0700 | [diff] [blame] | 1 | (function() { |
2 | 'use strict'; | ||||
3 | |||||
4 | angular.module('xos.helpers') | ||||
5 | /** | ||||
6 | * @ngdoc service | ||||
7 | * @name xos.helpers.Example-Services-Collection | ||||
8 | * @description Angular resource to fetch /api/service/exampleservice/ | ||||
9 | **/ | ||||
10 | .service('Example-Services-Collection', function($resource){ | ||||
11 | return $resource('/api/service/exampleservice/'); | ||||
12 | }) | ||||
13 | })(); |