I have a list that looks like this:
Actually you get promise
on $http.get
.
Try to use followed flow:
-
{{document.Name}}
Where documents
is your array.
$scope.documents = [];
$http.get('/Documents/DocumentsList/' + caseId).then(function(result) {
result.data.forEach(function(val, i) {
$scope.documents.push(/* put data here*/);
});
}, function(error) {
alert(error.message);
});