|
(function () {
|
|
'use strict';
|
|
|
|
angular.module('soter').factory('Group', Group);
|
|
|
|
var Group = ['$resource', function ($resource) {
|
|
return $resource('/api/Group/:id',
|
|
{id: '@GroupID'}, {
|
|
query: {method: 'GET', params: {list: true}, isArray: true}
|
|
});
|
|
}]
|
|
});
|