标签: angularjs
我的数据在json属性中有唯一标识符,我想在ng-repeat指令中访问它。
这失败了:
<tr ng-repeat="shape in 'shapes.id_'+$index+'.objects')"></tr>
我有什么想法可以做到这一点?我想过可能正在使用函数调用
<tr ng-repeat="shape in shapes($index))"></tr>