Ich versuche, die gleiche Tabelle mit Werten aus verschiedenen Scope-Variablen zu füllen. A und B haben immer die gleiche Länge. 4Multiples ng-repeat für Populationstabelle
2 - - 5
3 -
A -
1 B:
$scope.a = [1,2,3]
$scope.b = [4,5,6]
<table>
<thead>
<tr>
<th>A</th>
<th>B</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="itemA in a, itemB in b"> <!-- How should be this ng-repeat?-->
<td>{{itemA}}</td>
<td>{{itemB}}</td>
</tr>
</tbody>
</table>
Das Ergebnis ist eine Tabelle sein sollte 6