I have a list that contains objects that have variable data:
Object.id = 0;
Object.map1 = [{key, value}, {key,value}, ...]
What I have is the unchanged data(like the ID) which I put as a column and then it's value in the row.
However, all the keys from the map need to be columns as well with the mapped value in the respective row for them, because each request to the service can return different data. So the output should be something like:
ID KEY1 KEY2 ...
ID.VALUE VALUE1 VALUE2 ...
...
I'm new to angular hope this makes sense.
EDIT: What I've been trying for columns:
<thead>
<th ng-repeat="(column,v) in List.Objects[0].map1">
<a href="">{{column}}</a></th>
</th>
</thead>
[{name:'xx',age:23}, {name:'yy',age:73}]so each object has same keys across set?