I'm using Angular Filter plugin to group the tr's in a table. Current structure is below
<tbody>
<tr ng-repeat="row in data |groupBy: 'row' | orderBy : 'row'">
<td ng-repeat="person in row">{{person.row}}.{{person.name}}</td>
</tr>
</tbody>
I'm trying to add 2 td's into tr as below
<tbody>
<tr ng-repeat="row in data |groupBy: 'row' | orderBy : 'row'">
<td ng-repeat="person in row"><span>{{person.name}}</span></td>
<td colspan="{{person.colspan}}" ng-repeat="person in row"><input type="text" /></td>
</tr>
</tbody>
But td's with spans are added first and then the td's with input fields are added which is not what I want