angular.module('focaModalCheque') .factory('focaModalChequeService', [ '$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { getBancos: function() { return $http.get(API_ENDPOINT.URL + '/banco'); }, getProvincias: function() { return $http.get(API_ENDPOINT.URL + '/provincia'); }, getVendedores: function() { return $http.post(API_ENDPOINT.URL + '/vendedores', {nombre:''} ) } }; } ]);