diff options
Diffstat (limited to 'docs/content/cookbook/mvc.ngdoc')
| -rw-r--r-- | docs/content/cookbook/mvc.ngdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/content/cookbook/mvc.ngdoc b/docs/content/cookbook/mvc.ngdoc index cdb5ebdc..92033352 100644 --- a/docs/content/cookbook/mvc.ngdoc +++ b/docs/content/cookbook/mvc.ngdoc @@ -80,16 +80,16 @@ no connection between the controller and the view. </script> <h3>Tic-Tac-Toe</h3> - <div ng:controller="TicTacToeCntl"> + <div ng-controller="TicTacToeCntl"> Next Player: {{nextMove}} - <div class="winner" ng:show="winner">Player {{winner}} has won!</div> + <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" - ng:click="dropPiece($parent.$index, $index)">{{cell}}</td> + <tr ng-repeat="row in board" style="height:15px;"> + <td ng-repeat="cell in row" ng-style="cellStyle" + ng-click="dropPiece($parent.$index, $index)">{{cell}}</td> </tr> </table> - <button ng:click="reset()">reset board</button> + <button ng-click="reset()">reset board</button> </div> </doc:source> <doc:scenario> |
