diff options
Diffstat (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/sampleService.js')
-rw-r--r-- | usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/sampleService.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/sampleService.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/sampleService.js deleted file mode 100644 index d762dc9c..00000000 --- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/sampleService.js +++ /dev/null @@ -1,19 +0,0 @@ -appDS2.factory('SampleService', function ($http, $q) { - return { - getCollaborateList: function() { - return $http.get('get_collaborate_list') - .then(function(response) { - if (typeof response.data === 'object') { - return response.data; - } else { - return $q.reject(response.data); - } - - }, function(response) { - // something went wrong - return $q.reject(response.data); - }); - }, - - } -}); |