Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a2e2aeff032fd6d1797550b11b3680da4a156d5d
[releng.git]
/
utils
/
test
/
reporting
/
pages
/
app
/
scripts
/
factory
/
table.factory.js
1
'use strict';
2
3
/**
4
* get data factory
5
*/
6
angular.module('opnfvApp')
7
.factory('TableFactory', function($resource, $rootScope) {
8
9
return {
10
getFilter: function() {
11
return $resource(BASE_URL + '/filters', {}, {
12
'get': {
13
method: 'GET',
14
15
}
16
});
17
},
18
getScenario: function() {
19
return $resource(BASE_URL + '/scenarios', {}, {
20
'post': {
21
method: 'POST',
22
}
23
})
24
}
25
};
26
});