diff options
| author | Vojta Jina | 2012-03-13 13:52:57 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2012-03-13 13:52:57 -0700 | 
| commit | 63be222326f3badbb76371f82d49fed5ab9e3e65 (patch) | |
| tree | dec4d6f0e8fb72d8226f5a40cb4783b8e3787313 /docs/content/cookbook/mvc.ngdoc | |
| parent | a29c2cf70cb19f9fb4be2b62e7acd4054751ac51 (diff) | |
| download | angular.js-63be222326f3badbb76371f82d49fed5ab9e3e65.tar.bz2 | |
docs(input): Fix some broken links, add missing $, use ng- in examples
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> | 
