service.js 500 Bytes
angular.module('focaConfiguracion')
    .factory("focaConfiguracionService", [
        '$http', 'API_ENDPOINT',
        function($http, API_ENDPOINT) {
            return {
                getHashTerminal: function() {
                    return $http.get(API_ENDPOINT.ENDPOINT_BASE + '/terminal/obtener');
                },
                getPuntoVenta: function() {
                    return $http.get(API_ENDPOINT.URL + '/config/punto-venta');
                }
            }
        }
    ]);