THIS IS WORK IN PROGRESS.
This repository contains handout materials and code for rangle.io's AngularJS training course, focusing on building Angular 1.x applications the Angular 2 way.
This is meant to be used as a part of the course, which is normally offered as a 2-3 day event. See http://rangle.io/javascript-training.html for more information.
THE HANDOUTS ARE YET TO BE UPDATED TO MATCH THE CHANGES TO THE CODE.
See the handout for the handout. You can either view it in your browser or build it into a PDF using the instructions in the README file in the handout directory.
The repository also contains the codebase that we'll work on in throughout the course. The project has a server and the client component. This repository contains only the client code. The server code is available at https://github.com/rangle/ngcourse-api/. You do not need the server code to run the front end, however. Instead, you can access the API server deployed to http://ngcourse.herokuapp.com/ and will develop the client-side code on your own machine.
The students should start by checking out the "base" branch for their session, which has all the necessary configurations but no actual client side code. The "master" branch contains the final state of the project.
You will then need to have bower
and tsd
, to install dependencies and typings:
sudo npm install -g bower # skip "sudo" on windows
sudo npm install -g tsd # skip "sudo" on windows
You will then need to build the front end using:
npm install
The above install npm modules, bower dependencies, and typings for the course
Once you've done that, you can access the front-end of the project, by running a simple gulp task gulp serve
within the root directory.
gulp serve
(Any other static web server should do, though.)
Then point your browser to http://localhost:3000/
If you see a login screen, you are all set. You can login as "alice" with password "x", at which point you should see a list of tasks.