angular.module('focaModalDetalleHojaRuta') .service('focaModalDetalleHojaRutaService', [ '$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { getDetallesHojaRuta: function() { return $http.get(API_ENDPOINT.URL + '/transportista'); } }; } ]);