From 6336b6e89e3a80aec3c4367ab4c2737fd365c030 Mon Sep 17 00:00:00 2001
From: Igor Minar
Date: Fri, 30 Mar 2012 14:02:26 -0700
Subject: chore(docs): restore old tutorial ngdoc files
---
 docs/content/tutorial/index.ngdoc   | 150 +++++++++++++++++++++++++
 docs/content/tutorial/step_00.ngdoc | 216 ++++++++++++++++++++++++++++++++++++
 docs/content/tutorial/step_01.ngdoc |  57 ++++++++++
 docs/content/tutorial/step_02.ngdoc | 203 +++++++++++++++++++++++++++++++++
 docs/content/tutorial/step_03.ngdoc | 181 ++++++++++++++++++++++++++++++
 docs/content/tutorial/step_04.ngdoc | 198 +++++++++++++++++++++++++++++++++
 docs/content/tutorial/step_05.ngdoc | 216 ++++++++++++++++++++++++++++++++++++
 docs/content/tutorial/step_06.ngdoc | 105 ++++++++++++++++++
 docs/content/tutorial/step_07.ngdoc | 210 +++++++++++++++++++++++++++++++++++
 docs/content/tutorial/step_08.ngdoc | 186 +++++++++++++++++++++++++++++++
 docs/content/tutorial/step_09.ngdoc | 121 ++++++++++++++++++++
 docs/content/tutorial/step_10.ngdoc | 140 +++++++++++++++++++++++
 docs/content/tutorial/step_11.ngdoc | 208 ++++++++++++++++++++++++++++++++++
 docs/content/tutorial/the_end.ngdoc |  21 ++++
 14 files changed, 2212 insertions(+)
 create mode 100644 docs/content/tutorial/index.ngdoc
 create mode 100644 docs/content/tutorial/step_00.ngdoc
 create mode 100644 docs/content/tutorial/step_01.ngdoc
 create mode 100644 docs/content/tutorial/step_02.ngdoc
 create mode 100644 docs/content/tutorial/step_03.ngdoc
 create mode 100644 docs/content/tutorial/step_04.ngdoc
 create mode 100644 docs/content/tutorial/step_05.ngdoc
 create mode 100644 docs/content/tutorial/step_06.ngdoc
 create mode 100644 docs/content/tutorial/step_07.ngdoc
 create mode 100644 docs/content/tutorial/step_08.ngdoc
 create mode 100644 docs/content/tutorial/step_09.ngdoc
 create mode 100644 docs/content/tutorial/step_10.ngdoc
 create mode 100644 docs/content/tutorial/step_11.ngdoc
 create mode 100644 docs/content/tutorial/the_end.ngdoc
(limited to 'docs/content/tutorial')
diff --git a/docs/content/tutorial/index.ngdoc b/docs/content/tutorial/index.ngdoc
new file mode 100644
index 00000000..c26ea2df
--- /dev/null
+++ b/docs/content/tutorial/index.ngdoc
@@ -0,0 +1,150 @@
+@ngdoc overview
+@name Tutorial
+@description
+
+A great way to get introduced to Angular is to work through this tutorial, which walks you through
+the construction of an AngularJS web app. The app you will build is a catalog that displays a list
+of Android devices, lets you filter the list to see only devices that interest you, and then view
+details for any device.
+
+ Verify that you have Java installed by running the
+following command in a terminal window: You will need Java to run unit tests. Download Git from the Git site. You can build Git from source or use the pre-compiled package. Clone the angular-phonecat repository located at Github by running the following command: This command creates the  Change your current directory to  The tutorial instructions assume you are running all commands from the angular-phonecat
+directory. You will need an http server running on your system. Mac and Linux machines typically
+have Apache pre-installed, but If you don't already have one installed, you can install
+node.js. Use  You will need Java to run unit tests, so run the following command to verify that you
+have Java installed and that the  Install msysGit from the Git site. Open msysGit bash and clone the angular-phonecat repository located at Github by running the following command: This command creates the angular-phonecat directory in your current directory. Change your current directory to angular-phonecat. The tutorial instructions assume you are running all commands from the angular-phonecat
+directory. You should run all  Other commands like  You need an http server running on your system. If you don't already have one
+installed, you can install node.js. Download the pre-compiled binaries, unzip them, and then add
+ You need Java to run unit tests, so verify that you have Java installed by running the following command in a terminal
+window: Download the zip archive
+containing all of the files and unzip them into the [tutorial-dir] directory Change your current directory to [tutorial-dir]/sandbox, as follows: The tutorial instructions assume you are running all commands from your
+ You need an http server running on your system and Mac and Linux machines typically
+have Apache pre-installed. If you don't have an http server installed, you can install
+node.js and use it to run  Verify that you have Java installed and that the
+ You need Java to run unit tests, so download the zip archive that contains all of the files
+and unzip the files into the [tutorial-dir] directory Change your current directory to [tutorial-dir]/sandbox, as follows: The tutorial instructions assume you are running all commands from this directory. You need an http server running on your system, but if you don't already have one
+already installed, you can install node.js. Download the pre-compiled binaries, unzip them, and then add
+ +
+Work through the tutorial to see how Angular makes browsers smarter — without the use of extensions
+or plug-ins. As you work through the tutorial, 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.
+* See how Angular creates listeners on your data without the need for DOM manipulation.
+* Learn a better, easier way to test your web apps.
+* Learn how to use Angular services to make common web tasks, such as getting data into your app,
+easier.
+
+And all of this works in any browser without modification to the browser!
+
+When you finish the tutorial you will be able to:
+
+* Create a dynamic application that works in any browser.
+* Define the differences between Angular and common JavaScript frameworks.
+* Understand how data binding works in AngularJS.
+* Use the angular-seed project to quickly boot-strap your own projects.
+* Create and run tests.
+* Identify resources for learning more about AngularJS.
+
+The tutorial guides you through the entire process of building a simple application, including
+writing and running unit and end-to-end tests. Experiments at the end of each step provide
+suggestions for you learn more about AngularJS and the application you are building.
+
+You can go through the whole tutorial in a couple of hours or you may want to spend a pleasant day
+really digging into it. If you're looking for a shorter introduction to AngularJS, check out the
+{@link misc/started Getting Started} document.
+
+
+
+
+
+
+
+# Working with the code
+
+You can follow this tutorial and hack on the code in either the Mac/Linux or the Windows
+environment. Options for working with the tutorial are to use the Git versioning system for source
+code management or to use scripts that copy snapshots of project files into your workspace
+(`sandbox`) directory. Select one of the tabs below and follow the instructions for setting up your
+computer for your preferred option.
+
+
+
+Work through the tutorial to see how Angular makes browsers smarter — without the use of extensions
+or plug-ins. As you work through the tutorial, 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.
+* See how Angular creates listeners on your data without the need for DOM manipulation.
+* Learn a better, easier way to test your web apps.
+* Learn how to use Angular services to make common web tasks, such as getting data into your app,
+easier.
+
+And all of this works in any browser without modification to the browser!
+
+When you finish the tutorial you will be able to:
+
+* Create a dynamic application that works in any browser.
+* Define the differences between Angular and common JavaScript frameworks.
+* Understand how data binding works in AngularJS.
+* Use the angular-seed project to quickly boot-strap your own projects.
+* Create and run tests.
+* Identify resources for learning more about AngularJS.
+
+The tutorial guides you through the entire process of building a simple application, including
+writing and running unit and end-to-end tests. Experiments at the end of each step provide
+suggestions for you learn more about AngularJS and the application you are building.
+
+You can go through the whole tutorial in a couple of hours or you may want to spend a pleasant day
+really digging into it. If you're looking for a shorter introduction to AngularJS, check out the
+{@link misc/started Getting Started} document.
+
+
+
+
+
+
+
+# Working with the code
+
+You can follow this tutorial and hack on the code in either the Mac/Linux or the Windows
+environment. Options for working with the tutorial are to use the Git versioning system for source
+code management or to use scripts that copy snapshots of project files into your workspace
+(`sandbox`) directory. Select one of the tabs below and follow the instructions for setting up your
+computer for your preferred option.
+
+
+      
+
+      java -version
+      git clone git://github.com/angular/angular-phonecat.gitangular-phonecat directory in your current
+directory.angular-phonecat:
+      cd angular-phonecatnode to run scripts/web-server.js,  a simple bundled
+http server.
+      
+java executable is on
+your PATH.
+      java -version
+      git clone git://github.com/angular/angular-phonecat.git
+      cd angular-phonecatgit commands from msysGit bash.test-server.bat or test.bat should be
+executed from the Windows command line.nodejs\bin into your PATH. Use node to run
+scripts\web-server.js, a simple, bundled http server.
+      
+
+       java -version
+      cd [tutorial-dir]/sandboxsandbox directory.scripts/web-server.js, a simple bundled http
+server.
+      
+java executable is on your PATH by running the following command in the
+Windows command line:
+      java -version
+      cd [tutorial-dir]/sandboxnodejs\bin into your PATH. Use node to run
+scripts\web-server.js, a simple bundled http server.
In angular-phonecat directory, run this command:
+git checkout -f step-0This 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.
./scripts/web-server.js to start the web server.angular-phonecat
+directory.http://localhost:[port-number]/[context-path]/app/index.html.Open msysGit bash and run this command (in angular-phonecat directory):
+git checkout -f step-0This 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.
node
+scripts\web-server.js to start the web server.angular-phonecat
+directory.http://localhost:[port-number]/[context-path]/app/index.html.In the angular-phonecat directory, run this command:
+./goto_step.sh 0This 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.
./scripts/web-server.js to start the web server.sandbox directory.http://localhost:[port-number]/[context-path]/app/index.html.Open windows command line and run this command (in the angular-phonecat directory):
+goto_step.bat 0This 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.
node
+scripts\web-server.js to start the web server.sandbox directory.http://localhost:[port-number]/[context-path]/app/index.html.+ + + + ++ + + +## What is the code doing? + +* xmlns declaration + + + + This `xmlns` declaration for the `ng` namespace must be specified in all Angular applications in +order to make Angular work with XHTML and IE versions older than 9 (regardless of whether you are +using XHTML or HTML). + +* Angular script tag + + + + +my angular app + + + + + Nothing here yet! + + + + +