+
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:
@@ -52,22 +52,22 @@ code management or to use scripts that copy snapshots of project files into your
(`sandbox`) directory. Select one of the tabs below and follow the instructions for setting up your
computer for your preferred option.
-Verify that you have Java installed by running the following command in a terminal window:
-java -version
+ java -version
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:
-git clone git://github.com/angular/angular-phonecat.git
+ git clone git://github.com/angular/angular-phonecat.git
This command creates the angular-phonecat directory in your current
directory.
Change your current directory to angular-phonecat:
cd angular-phonecat
+ cd angular-phonecat
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
@@ -75,22 +75,22 @@ have Apache pre-installed, but If you don't already have one installed, you can
href="http://nodejs.org/#download">install node.js. Use node to run
scripts/web-server.js, a simple bundled http server.
You will need Java to run unit tests, so run the following command to verify that you
have Java installed and that the java executable is on
your PATH.
java -version
+ java -version
Install msysGit from the Git site.
Open msysGit bash and clone the angular-phonecat repository located at Github by running the following command:
-git clone git://github.com/angular/angular-phonecat.git
+ git clone git://github.com/angular/angular-phonecat.git
This command creates the angular-phonecat directory in your current directory.
Change your current directory to angular-phonecat.
-cd angular-phonecat
+ cd angular-phonecat
The tutorial instructions assume you are running all commands from the angular-phonecat directory.
You should run all git commands from msysGit bash.
nodejs\bin was added into your PATH. Use node to run
scripts\web-server.js, a simple bundled http server.You need Java to run unit tests, so verify that you have Java installed by running the following command in a terminal window:
-java -version
+ java -version
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:
-cd [tutorial-dir]/sandbox
+ cd [tutorial-dir]/sandbox
The tutorial instructions assume you are running all commands from your
sandbox directory.
You need an http server running on your system and Mac and Linux machines typically
@@ -120,29 +120,29 @@ have Apache pre-installed. If you don't have an http server installed, you can <
href="http://nodejs.org/#download">install node.js and use it to run
scripts/web-server.js, a simple bundled http server.
Verify that you have Java installed and that the
java executable is on your PATH by running the following command in the
Windows command line:
java -version
+ java -version
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:
-cd [tutorial-dir]/sandbox
+ cd [tutorial-dir]/sandbox
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. Make sure that
nodejs\bin was added 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-0
+ git checkout -f step-0
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 @@ -41,13 +41,13 @@ directory.
Open msysGit bash and run this command (in angular-phonecat directory):
-git checkout -f step-0
+ git checkout -f step-0
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 @@ -73,13 +73,13 @@ directory.
In the angular-phonecat directory, run this command:
-./goto_step.sh 0
+ ./goto_step.sh 0
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 @@ -105,13 +105,13 @@ href="http://localhost:8000/app/index.html">http://localhost:8000/app/index.html
Open windows command line and run this command (in the angular-phonecat directory):
-goto_step.bat 0
+ goto_step.bat 0
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 @@ -137,8 +137,8 @@ href="http://localhost:8000/app/index.html">http://localhost:8000/app/index.html
+
## What are all these files in my working directory?
@@ -265,7 +265,7 @@ For the purposes of this tutorial, we modified the angular-seed with the followi
Now let's go to {@link step_01 step 1} and add some content to the web app.
-