subjectname: Object0: "Math"1: "Science"2: "Chem"
I have an object user and user.subjectname looks as above:
Now, I need to loop through values in the object and print in my table using angular js. How do I go about it?
To create user.subjectname, I had used
<input type="text" ng-model="user.subjectname[$index]">
as I am dynamically creating input row, so this is inside of ng-repeat .
If I use {{ user.studentname }}, I get {"0":"vhj","1":"tyuh"} in my table, however, I want to retrieve values from this.
console.log(user) gives this structure:

user.subjectname.Object0have you tried ? Or share some more code to understand better. Paste your json response may help