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/index.ngdoc | 4 ++-- docs/content/tutorial/step_00.ngdoc | 10 +++++----- docs/content/tutorial/step_01.ngdoc | 0 docs/content/tutorial/step_02.ngdoc | 30 ++++++++++++++---------------- docs/content/tutorial/step_03.ngdoc | 6 +++--- docs/content/tutorial/step_04.ngdoc | 7 ++++--- docs/content/tutorial/step_05.ngdoc | 2 +- docs/content/tutorial/step_06.ngdoc | 0 docs/content/tutorial/step_07.ngdoc | 0 docs/content/tutorial/step_08.ngdoc | 0 docs/content/tutorial/step_09.ngdoc | 0 11 files changed, 29 insertions(+), 30 deletions(-) mode change 100755 => 100644 docs/content/tutorial/step_00.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_01.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_02.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_03.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_04.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_05.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_06.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_07.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_08.ngdoc mode change 100755 => 100644 docs/content/tutorial/step_09.ngdoc (limited to 'docs/content/tutorial') diff --git a/docs/content/tutorial/index.ngdoc b/docs/content/tutorial/index.ngdoc index eb4c7e11..68793134 100644 --- a/docs/content/tutorial/index.ngdoc +++ b/docs/content/tutorial/index.ngdoc @@ -18,9 +18,9 @@ use of extensions or plugins. * You will see examples of how to use client-side data binding and dependency injection to build dynamic views of data that change immediately in response to user actions. -* You will see how Angular creates listeners on your data without the need for DOM manipulation. +* You will see how angular creates listeners on your data without the need for DOM manipulation. * You will learn a better, easier way to test your web apps. -* You will learn how to use Angular services to make common web tasks, such as getting data into +* You will learn how to use angular services to make common web tasks, such as getting data into your app, easier. diff --git a/docs/content/tutorial/step_00.ngdoc b/docs/content/tutorial/step_00.ngdoc old mode 100755 new mode 100644 index e97f4038..09b06109 --- a/docs/content/tutorial/step_00.ngdoc +++ b/docs/content/tutorial/step_00.ngdoc @@ -8,7 +8,7 @@ -You are now ready to build the phone cat application. In this step, you will become familiar with +You are now ready to build the phonecat application. In this step, you will become familiar with the most important source code files, learn how to start the development servers bundled with angular-seed, and run the application in the browser. @@ -20,7 +20,7 @@ angular-seed, and run the application in the browser.
In angular-phonecat directory, run this command:
git checkout -f step-0
- This resets your workspace to Step 0 of the tutorial app.
+This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
Open msysGit bash and run this command (in angular-phonecat directory):
git checkout -f step-0
- This resets your workspace to Step 0 of the tutorial app.
+This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
In angular-phonecat directory, run this command:
./goto_step.sh 0
- This resets your workspace to Step 0 of the tutorial app.
+This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
Open windows command line and run this command (in angular-phonecat directory):
goto_step.bat 0
- This resets your workspace to Step 0 of the tutorial app.
+This resets your workspace to step 0 of the tutorial app.
You must repeat this for every future step in the tutorial and change the number to the number of the step you are on. This will cause any changes you made within your working directory to be lost.
- * 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}.
diff --git a/docs/content/tutorial/step_03.ngdoc b/docs/content/tutorial/step_03.ngdoc
old mode 100755
new mode 100644
index 8425ab9a..c4654998
--- a/docs/content/tutorial/step_03.ngdoc
+++ b/docs/content/tutorial/step_03.ngdoc
@@ -59,7 +59,7 @@ __`app/index.html`:__
-We added a standard HTML `` tag and use angular's {@link api/angular.array.filter $filter}
+We added a standard HTML `` tag and use angular's {@link api/angular.Array.filter $filter}
function to process the input for the `ng:repeater`.
@@ -80,7 +80,7 @@ the DOM to reflect the current state of the model.
-* Use of `$filter`. The {@link api/angular.array.filter $filter} method, uses the `query` value, to
+* Use of `$filter`. The {@link api/angular.Array.filter $filter} method, uses the `query` value, to
create a new array that contains only those records that match the `query`.
@@ -207,7 +207,7 @@ element with `id` `"status"` and content with the `query` binding into the `inde
make the test pass.
-* Add a `wait();` statement into an end-to-end test and rerun it. You'll see the runner pausing,
+* Add a `pause()` statement into an end-to-end test and rerun it. You'll see the runner pausing,
giving you the opportunity to explore the state of your application displayed in the browser. The
app is live! Change the search query to prove it. This is great for troubleshooting end-to-end
tests.
diff --git a/docs/content/tutorial/step_04.ngdoc b/docs/content/tutorial/step_04.ngdoc
old mode 100755
new mode 100644
index 7d5419e3..7c942c34
--- a/docs/content/tutorial/step_04.ngdoc
+++ b/docs/content/tutorial/step_04.ngdoc
@@ -71,9 +71,9 @@ two provided sorting options.
-* We then chained the `$filter` method with {@link api/angular.array.orderBy `$orderBy`} method to
+* We then chained the `$filter` method with {@link api/angular.Array.orderBy `$orderBy`} method to
further process the input into the repeater. `$orderBy` is a utility method similar to {@link
-api/angular.array.filter `$filter`}, but instead of filtering an array, it reorders it.
+api/angular.Array.filter `$filter`}, but instead of filtering an array, it reorders it.
Angular creates a two way data-binding between the select element and the `orderProp` model.
@@ -201,7 +201,8 @@ Let's turn our attention to the end-to-end test.
__`test/e2e/scenarios.js`:__
...
- it('should be possible to control phone order via the drop down select box', function() {
+ it('should be possible to control phone order via the drop down select box',
+ function() {
// let's narrow the dataset to make the test assertions shorter
diff --git a/docs/content/tutorial/step_05.ngdoc b/docs/content/tutorial/step_05.ngdoc
old mode 100755
new mode 100644
index 4bd4e4b3..68cc726a
--- a/docs/content/tutorial/step_05.ngdoc
+++ b/docs/content/tutorial/step_05.ngdoc
@@ -103,7 +103,7 @@ To use a service in angular, you simply declare the names of the services you ne
the controller's constructor function, as follows:
- function PhoneListCtrl($xhr) {
+ function PhoneListCtrl($xhr) {...}
Angular's dependency injector provides services to your controller when the controller is being
diff --git a/docs/content/tutorial/step_06.ngdoc b/docs/content/tutorial/step_06.ngdoc
old mode 100755
new mode 100644
diff --git a/docs/content/tutorial/step_07.ngdoc b/docs/content/tutorial/step_07.ngdoc
old mode 100755
new mode 100644
diff --git a/docs/content/tutorial/step_08.ngdoc b/docs/content/tutorial/step_08.ngdoc
old mode 100755
new mode 100644
diff --git a/docs/content/tutorial/step_09.ngdoc b/docs/content/tutorial/step_09.ngdoc
old mode 100755
new mode 100644
--
cgit v1.2.3