How to Set Up for AngularJS 1.5

In Brief...

Setting up for our AngularJS 1.5 course will take a little time. Please follow these instructions carefully.


Technical Requirements


  1. Windows 7 or later or Mac OSX 10.5 or later
  2. Minimum of 3 GB RAM
  3. 10 GB in the hard disk


The latest version of Google Chrome of Firefox.

JavaScript Aware IDE (any one of the following)

  1. Notepad++ (Free download)
  2. JetBrains WebStorm (Free 30-day trial)
  3. Eclipse - (Download with AngularJS Eclipse Plugin)
  4. Atom text editor - (Download)

Class Files

The following archives will be shipped with the courseware.


Upon extracting the archive an AngularClass directory will be created containing the following executables in the AngularClass/bin directory

  1. node (Node.js version v0.12.7)
  2. mongo (version 3.0.7)
  3. mongod (version 3.0.7)
  4. mongoimport (version 3.0.7)

In addition, the AngularClass/node_modules directory contains Node.js packages and plugins used in the class.

The rest of the directories contain HTML and JavaScript files and libraries with example code that will be used throughout the class (typically each chapter in the class has its own directory).

Starting the class environment (on the day of the class)

The environment is setup by running an instance of a Node.js web server and a MongoDB database instance from the command line or terminal. Everything you need is contained in the AngularClass directory provided Closing the terminal will end all sessions and stop all server instances running.

  1. Unpack the archive AngularClassWin(64/32).zip or to a directory on the student computer’s hard drive.
  2. Open a command prompt or terminal window in your newly created AngularClass directory.
  3. Set up your PATH:
    • Windows Users: Type/enter bin\set-path, which should set up your PATH variable for this command prompt.
    • Mac users: Type source bin/set-path.
  4. With your PATH correctly set, enter start-server, which will kick off a Node.js-based web server on port 8000.
  5. Enter mongo-start, which will kick off an instance of the MongoDB database.
  6. Enter mongo-load- class, which will load our class sample data into the Mongo database.
  7. Enter start-rest, which will kick off a RESTful interface to the Mongo database on port 27017.
  8. Navigate to http://localhost:8000/Installed.html.
  9. You should see a page indicating that the web server and the RESTful server are both running.
  10. You should be ready to begin the class.
NOTE: At the end of the class, closing any open terminal windows and deleting the AngularClass directory is all that needs to be done. No software is installed onto the students' computer and no persistent configuration changes are made to the operating system. The PATH variables created are only valid for the duration of the class.

Related Training

Author: Nat Dunn

Nat Dunn founded Webucator in 2003 to combine his passion for web development with his business expertise and to help companies benefit from both.