blob: a735c4689dfdb3165c2825c6870af39586253a3a [file] [log] [blame]
Matteo Scandolod5f3d052016-05-02 15:29:37 -07001(function() {
2 'use strict';
3
4 angular.module('xos.helpers')
5 /**
6 * @ngdoc service
7 * @name xos.helpers.Login
8 * @description Angular resource to fetch /api/utility/login/
9 **/
10 .service('Login', function($resource){
11 return $resource('/api/utility/login/');
12 })
13 /**
14 * @ngdoc service
15 * @name xos.helpers.Logout
16 * @description Angular resource to fetch /api/utility/logout/
17 **/
18 .service('Logout', function($resource){
19 return $resource('/api/utility/logout/');
20 })
21})();