1
我正在研究一個項目,我想將兩個ng-repeat結合起來,有沒有人有關於如何做到這一點的想法?ng-repeat在ng-repeat中使用Angular
像這樣:
<th ng-repeat="header in headers">
<ul class="dropdown-menu" aria-labelledby="dropdownMenu">
<li class="divider"></li>
<li ng-repeat="row in rows">
**{{row.{{header.data}}}**} //what is the right syntax
</li>
</ul>
</th>
回答
這應該工作:
來源
2014-09-23 08:02:40 pixelbits
非常感謝!! - 它像一個魅力工作! – ShaqCode 2014-09-23 08:05:50
相關問題