有可能角度重复实现吗?基本上我想知道有一种方法将2循环在一起吗?非常感谢任何帮助!
控制器:
$scope.date=[
{ID:1,Date:'2016-11-12'},
{ID:2,Date:'2016-11-15'},
{ID:3,Date:'2016-12-06'}
]
Run Code Online (Sandbox Code Playgroud)
HTML:
<table border="1" align="center">
<tr>
<th rowspan="2">ITEMCODE</th>
<th rowspan="2">DEBTORCODE</th>
<th colspan="2" ng-repeat="d in date">{{d.Date}}</th>
</tr>
<tr>
<th>Bal</th>
<th>Order</th>
</tr>
</table>
Run Code Online (Sandbox Code Playgroud)