Can I traverse two arrays simultaneously using only one ng-repeat
in AngularJs? If so, then how?
For example I have two arrays
array1 = [1,2,3,4,5]
array2 = [6,7,8,9,10]
It should be able to produce the same index for both the arrays.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…