diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/content/cookbook/mvc.ngdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/cookbook/mvc.ngdoc b/docs/content/cookbook/mvc.ngdoc index ff067f61..b1128d8e 100644 --- a/docs/content/cookbook/mvc.ngdoc +++ b/docs/content/cookbook/mvc.ngdoc @@ -85,8 +85,8 @@ view. Next Player: {{nextMove}} <div class="winner" ng-show="winner">Player {{winner}} has won!</div> <table class="board"> - <tr ng-repeat="row in board" style="height:15px;"> - <td ng-repeat="cell in row" ng-style="cellStyle" + <tr ng-repeat="row in board track by $index" style="height:15px;"> + <td ng-repeat="cell in row track by $index" ng-style="cellStyle" ng-click="dropPiece($parent.$index, $index)">{{cell}}</td> </tr> </table> |
