Getting started with the MEAN stack
Let's start by installing the various tools that we'll need to build our application.
By this time, you probably already have Node.js installed and have become reasonably comfortable with starting and stopping the web servers.
As we proceed, take a moment to verify your current version of Node.js and upgrade it if necessary. The status of the latest version and how to upgrade it can be found on the Node.js site at http://nodejs.org/.
Setting up MongoDB
Depending on your operating system, MongoDB can be installed in multiple ways.
Perform the steps mentioned at the following links to install MongoDB on your operating system:
For Windows, refer to http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
For Mac OS X, refer to http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/
For Ubuntu, refer to http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
Once you have installed MongoDB, the next most important step is to create...