// web service proxy for formula webservices.factory('formulaService', ['$http', 'apiConfig', 'httpCacheService', function ($http, apiConfig, httpCacheService) { 'use strict'; return { getAll: function () { return $http.get('/formula/get', apiConfig.create()); }, getAllParam: function () { return $http.get('/formula/param/get', apiConfig.create()); }, getAllParamMapping: function () { return $http.get('/formula/parammapping/get', apiConfig.create()); } }; }]);