-1
I’m getting a response from my API which is an array containing some information between them idTipoTitulo
and nome
it occurs that I only need these two attributes to display on the screen.
My method
$http({
method : 'GET',
url : '/user/tiposTitulos',
}).then(function(response) {
$scope.tiposTitulos= response.data;
}, function(response) {
console.log(response.data);
console.log(response.status);
});
And what is the doubt? Knowing how to iterate
$scope.tiposTitulos
to compile the HTML?– Sergio
@Sergio yes.......
– Eduardo Krakhecke
How so "yes......."? what part you don’t know how to do?
– Sergio