blob: deb18a4d2f07097d6bbd3e9c19ec81d0656f2917 [file] [log] [blame]
Matteo Scandolofbd486c2016-04-13 10:19:55 -07001(function() {
2 'use strict';
Matteo Scandolo2ef0cd72016-04-12 11:59:29 -07003
Matteo Scandolofbd486c2016-04-13 10:19:55 -07004 angular.module('xos.helpers')
Matteo Scandolo717352a2016-04-13 17:23:28 -07005 /**
6 * @ngdoc service
7 * @name xos.helpers.Users
8 * @description Angular resource to fetch /api/core/users/
9 **/
Matteo Scandolofbd486c2016-04-13 10:19:55 -070010 .service('Users', function($resource){
11 return $resource('/api/core/users/');
12 })
13})();