I have a pair of lists that are the same length.
My goal is to utilize AngularJS to generate a repeated UI table.
<tr ng-repeat="pair in pairs ..>
For example, with lists [1,2,3,4]
and [a,b,c,d]
:
Table:
1 row: 1 a
2 row: 2 b
3 row: 3 c
4 row: 4 d
How can I achieve this functionality?
Should I merge the two lists and then iterate over them in Angular? Or is there another method involving nested loops?