service.js 337 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 angular.module('focaModalRemito') .service('focaModalRemitoService', [ '$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { getRemitos: function() { return $http.get(API_ENDPOINT.URL + '/remito'); } }; } ]);