<tr ng-repeat="rows in DATA1">
<INEEDSOMETAG ng-repeat="(key,part) in rows" ng-switch on="key">
<td ng-switch-when="ABCD" ng-repeat="piece in part">{{piece}}</td>
<td ng-switch-default>{{part}}</td>
</INEEDSOMETAG>
</tr>
this information is parsed from a json object which one of the 'parts' is another object and i need to iterate through that but display them as another 'td'.
obviously one way to go would be to provide some sort of dynamic tag if thats possible ('INEEDSOMETAG')
json below:
{obj1: {
ABCD:{
x:'x',
y:'y'
},
a:'a',
b:'b',
c:'c',
d:'d',
},
obj2:{
ABCD:{
z:'x',
f:'y'
},
a:'a',
b:'b',
c:'c',
d:'d',
},
}
added a jsfiddle: http://jsfiddle.net/kDF5L/1/