service.js 361 Bytes edit raw blame history 1 2 3 4 5 6 7 8 9 10 11 12 angular.module('focaModalNotaPedido') .service('focaModalNotaPedidoService', [ '$http', 'API_ENDPOINT', function($http, API_ENDPOINT) { return { getNotasPedido: function() { return $http.get(API_ENDPOINT.URL + '/nota-pedido/listar'); } }; } ]);