Commit 268fee90824f8085fe5ada458768a3999202f885
1 parent
68c088ee5b
Exists in
master
agrego todo
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/js/service.js
1 | angular.module('focaModalBanco') | 1 | angular.module('focaModalBanco') |
2 | .factory('focaModalBancoService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { | 2 | .factory('focaModalBancoService', ['$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { |
3 | return { | 3 | return { |
4 | getBancos: function() { | 4 | getBancos: function() { |
5 | //TODO: Pasar filtro | ||
5 | return $http.get(API_ENDPOINT.URL + '/banco'); | 6 | return $http.get(API_ENDPOINT.URL + '/banco'); |
6 | } | 7 | } |
7 | }; | 8 | }; |
8 | }]); | 9 | }]); |
9 | 10 |