Another answers:
-
Original question:
How to create two dimensional array as table with ng-repeat?
this.boardArr = [
[1,6,3],
[5,2,7],
[9,10,11],
]
This doesn't work:
<table class="game-board" ng-controller="GameBoardController as gameBoard">
<tr ng-repeat="row in boardArr">
<td ng-repeat="col in row">{{boardArr[row][col]}}</td>
</tr>
</table>