formula.svc.js 563 Bytes
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// 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());
        }
    };
}]);