vendredi 30 mai 2014

Angular js ng-repeat not working for server response


Vote count:

0




I have an response object from the server like this


$scope.new = {"Module":"A","Link":"B"}


How do I use ng-repeat to display this two items?



<div ng-repeat="item in new">
{{item}} -- {{item.Module}} -- {{item.Link}}
</div>


asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire