service.js 349 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 angular.module('focaNombreEmpresa') .service('focaNombreEmpresaService', [ '$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { getEmpresa: function(id) { return $http.get(API_ENDPOINT.URL + '/empresa/' + id); } }; } ]);