From 63be222326f3badbb76371f82d49fed5ab9e3e65 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 13 Mar 2012 13:52:57 -0700 Subject: docs(input): Fix some broken links, add missing $, use ng- in examples --- docs/content/cookbook/advancedform.ngdoc | 30 +++++++++++++++--------------- docs/content/cookbook/buzz.ngdoc | 20 ++++++++++---------- docs/content/cookbook/deeplinking.ngdoc | 8 ++++---- docs/content/cookbook/form.ngdoc | 28 ++++++++++++++-------------- docs/content/cookbook/helloworld.ngdoc | 4 ++-- docs/content/cookbook/mvc.ngdoc | 12 ++++++------ 6 files changed, 51 insertions(+), 51 deletions(-) (limited to 'docs/content/cookbook') diff --git a/docs/content/cookbook/advancedform.ngdoc b/docs/content/cookbook/advancedform.ngdoc index 58a8dfd5..37c5da0d 100644 --- a/docs/content/cookbook/advancedform.ngdoc +++ b/docs/content/cookbook/advancedform.ngdoc @@ -58,35 +58,35 @@ detection, and preventing invalid form submission. $scope.cancel(); } -
+

-

+


-
- , - -

+
+ , + +

- [ add ] -
- - - [ X ] + + [ X ]
- - + +

diff --git a/docs/content/cookbook/buzz.ngdoc b/docs/content/cookbook/buzz.ngdoc index ca6a22b4..bf900223 100644 --- a/docs/content/cookbook/buzz.ngdoc +++ b/docs/content/cookbook/buzz.ngdoc @@ -31,22 +31,22 @@ to retrieve Buzz activity and comments. } }; -
- - +
+ +
-
+

- - {{item.actor.name}} - + + {{item.actor.name}} + Expand replies: {{item.links.replies[0].count}}

{{item.object.content | html}} -
- - {{reply.actor.name}}: +
+ + {{reply.actor.name}}: {{reply.content | html}}
diff --git a/docs/content/cookbook/deeplinking.ngdoc b/docs/content/cookbook/deeplinking.ngdoc index 4db8d1c7..db5f057e 100644 --- a/docs/content/cookbook/deeplinking.ngdoc +++ b/docs/content/cookbook/deeplinking.ngdoc @@ -33,8 +33,8 @@ In this example we have a simple app which consist of two screens: The two partials are defined in the following URLs: -* ./examples/settings.html -* ./examples/welcome.html +* ./examples/settings.html +* ./examples/welcome.html @@ -73,7 +73,7 @@ The two partials are defined in the following URLs: $scope.cancel(); } -
+

Your App Chrome

[ Welcome | Settings ]
@@ -106,7 +106,7 @@ The two partials are defined in the following URLs: routes. * The {@link api/angular.module.ng.$route $route} service then watches the URL and instantiates the appropriate controller when the URL changes. -* The {@link api/angular.module.ng.$compileProvider.directive.ng:view ng:view} widget loads the +* The {@link api/angular.module.ng.$compileProvider.directive.ng-view ng-view} widget loads the view when the URL changes. It also sets the view scope to the newly instantiated controller. * Changing the URL is sufficient to change the controller and view. It makes no difference whether the URL is changed programatically or by the user. diff --git a/docs/content/cookbook/form.ngdoc b/docs/content/cookbook/form.ngdoc index b811a1fc..afb30e36 100644 --- a/docs/content/cookbook/form.ngdoc +++ b/docs/content/cookbook/form.ngdoc @@ -32,30 +32,30 @@ allow a user to enter data. }; } -
+

-

+


-
- , - -

+
+ , + +

- [ add ] -
- - - [ X ] + + [ X ]

Debug View: @@ -102,7 +102,7 @@ allow a user to enter data. # Things to notice -* The user data model is initialized {@link api/angular.module.ng.$compileProvider.directive.ng:controller controller} and is +* The user data model is initialized {@link api/angular.module.ng.$compileProvider.directive.ng-controller controller} and is available in the {@link api/angular.module.ng.$rootScope.Scope scope} with the initial data. * For debugging purposes we have included a debug view of the model to better understand what is going on. diff --git a/docs/content/cookbook/helloworld.ngdoc b/docs/content/cookbook/helloworld.ngdoc index 0d9f882a..629a3893 100644 --- a/docs/content/cookbook/helloworld.ngdoc +++ b/docs/content/cookbook/helloworld.ngdoc @@ -9,8 +9,8 @@ $scope.name = 'World'; } -
- Your name: +
+ Your name:
Hello {{name}}!
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.

Tic-Tac-Toe

-
+
Next Player: {{nextMove}} -
Player {{winner}} has won!
+
Player {{winner}} has won!
- - + +
{{cell}}
{{cell}}
- +
-- cgit v1.2.3