Setting Up Node.js

Node.js is a JavaScript platform based on Google Chrome’s V8 engine that enables you to run JavaScript applications outside of a web browser. It is an extremely powerful tool, but in this book I’m going to cover only the basics of using it as the web server to support the AngularJS application examples.

To install and use Node.js you will need to perform the following steps:

1. Go out to the following URL and click on “INSTALL.” This will download an installable package to your system. For Windows boxes you will get a .MSI file, for Macs you will get a .PKG file, and for Linux boxes you can get a .tar.gz file.

http://nodejs.org

2. Install the package. For Windows and Macs simply install the package file. For Linux go out to ...

Get Learning AngularJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.