From c35b0a7907de1535269876668c345ce944681804 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 6 Jun 2011 22:02:30 -0700 Subject: yet another docs batch --- docs/content/tutorial/step_02.ngdoc | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) mode change 100755 => 100644 docs/content/tutorial/step_02.ngdoc (limited to 'docs/content/tutorial/step_02.ngdoc') diff --git a/docs/content/tutorial/step_02.ngdoc b/docs/content/tutorial/step_02.ngdoc old mode 100755 new mode 100644 index 10721679..1715990b --- a/docs/content/tutorial/step_02.ngdoc +++ b/docs/content/tutorial/step_02.ngdoc @@ -66,15 +66,15 @@ widget} and two {@link guide/dev_guide.expressions angular expressions} enclosed `{{phone.name}}` and `{{phone.snippet}}`: - * The `ng:repeat="phone in phones"` statement in the `
- * The curly braces around `phone.name` and `phone.snippet` are an example of {@link
+* The curly braces around `phone.name` and `phone.snippet` are an example of {@link
guide/dev_guide.compiler.markup angular markup}. The curly markup is shorthand for the angular
directive {@link api/angular.directive.ng:bind ng:bind}. The `ng:bind` directives indicate to
angular that these are template binding points. Binding points are locations in the template where
@@ -117,20 +117,18 @@ the model and the view. Note in the following how we connected the dots between
data, and logic components:
- * The name of our controller function (in the JavaScript file `controllers.js`) matches the
-{@link api/angular.directive.@ng:controller ng:controller} directive in the `` tag
-(`PhoneListCtrl`).
- * We instantiated our data within the scope of our controller function, and our template
-binding points are located within the block bounded by the ``
-tag.
+* The name of our controller function (in the JavaScript file `controllers.js`) matches the {@link
+api/angular.directive.ng:controller ng:controller} directive in the `` tag (`PhoneListCtrl`).
+* We instantiated our data within the scope of our controller function, and our template binding
+points are located within the block bounded by the `` tag.
- Angular scopes are a crucial concept in angular; you can think of scopes as the glue that makes
-the template, model and controller all work together. Angular uses scopes, along with the
-information contained in the template, data model, and controller, to keep the model and view
-separated but in sync. Any changes to the model are reflected in the view; any changes that occur
-in the view are reflected in the model. To learn more about angular scopes, see the {@link
-api/angular.scope angular scope documentation}.
+Angular scopes are a crucial concept in angular; you can think of scopes as the glue that makes the
+template, model and controller all work together. Angular uses scopes, along with the information
+contained in the template, data model, and controller, to keep the model and view separated but in
+sync. Any changes to the model are reflected in the view; any changes that occur in the view are
+reflected in the model. To learn more about angular scopes, see the {@link api/angular.scope
+angular scope documentation}.
--
cgit v1.2.3