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