Line | |
---|
1 | (function () {
|
---|
2 | var module = appStatusPlugin.getAngularModule();
|
---|
3 | var apiUrl = 'api/Status/Data/';
|
---|
4 | module.factory('app.status.data.service',
|
---|
5 | ['$resource', function ($resource) {
|
---|
6 | return $resource(apiUrl + ':action', { start: '@start', end: '@end' }, {
|
---|
7 | getStatus: { method: 'GET', params: { action: 'GetStatus' } },
|
---|
8 | getStatusHistory: { method: 'GET', params: { action: 'GetStatusHistory' }, isArray: true }
|
---|
9 | });
|
---|
10 | }]
|
---|
11 | );
|
---|
12 | })(); |
---|
Note: See
TracBrowser
for help on using the repository browser.