Welcome to the hands on exercises for the Build a Strong AngularJS Foundation course.
- Commentary on a specific AngularJS concept.
- A live coding example to illustrate the concept.
- Hands on exercises to reinforce the concept.
This is the third section of the course and it is time for us to work through the hands on exercises.
Each module has a set of exercises and a suite of failing unit tests. As you work through the exercises, the tests will start to pass. You will know that you have successfully completed the exercises when all of the tests are passing.
Checkout master
from the angularjs-foundation/video-app repository to see the completed application and solutions to the exercises.
- Git
- NodeJS (version
v0.10.26
or greater) - NPM (version
1.4.4
or greater) - Make sure you have the following NPM plugins installed globally (via
-g
):sudo npm install -g grunt
sudo npm install -g grunt-cli
sudo npm install -g karma
sudo npm install -g karma-cli
sudo npm install -g http-server
First run npm cache clear
in the console (for Windows use the nodejs command prompt
).
- clone by repo:
git clone https://github.com/angularjs-foundation/video-exercises.git
- go to the directory:
cd video-exercises
- run the installation:
scripts\install.cmd
- run the server:
scripts\server.cmd
. **MAKE SURE that this is NOT run directly from inside of thescripts\
directory. - Visit the website at
http://localhost:8088
.
- clone by repo:
git clone https://github.com/angularjs-foundation/video-exercises.git
- go to the directory:
cd video-exercises
- run the installation :
./scripts/install.sh
- run the server:
./scripts/server.sh
- Visit the website at
http://localhost:8088
.
When the website is run there will be a series of modules to work through.
Each module will have individual exercises to work through. (The hands on exercises will be installed inside of hands-on-exercises
.)
Each module starts with a series of failing tests.
The goal is to work through the exercises until all the tests pass.
If you run into any problems, please file a GitHub Issue and we will address it immediately. Thanks!