aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/cookbook/mvc.ngdoc
diff options
context:
space:
mode:
authorVojta Jina2012-03-13 13:52:57 -0700
committerVojta Jina2012-03-13 13:52:57 -0700
commit63be222326f3badbb76371f82d49fed5ab9e3e65 (patch)
treedec4d6f0e8fb72d8226f5a40cb4783b8e3787313 /docs/content/cookbook/mvc.ngdoc
parenta29c2cf70cb19f9fb4be2b62e7acd4054751ac51 (diff)
downloadangular.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.ngdoc12
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>