Process to Install and configure nodejs.

[Pages:3]Process to Install and configure nodejs.

Step 1: Install nodejs from

After installing nodejs then open command prompt on your machine or mac user open terminal.we required nodejs for hosting the angular to application locally. Step 2: Installing angular-cli to Your Machine use ?g to use it globally on your machine Windows user npm install ?g angular-cli Mac User Sudo npm install ?g angular-cli Note: -g stands for global

Step 3: Now Creating new Angular Application. In your command prompt navigate to directory in which you want to create the application. Then write the following code and press enter. ng new myfirst_app

Step 4: Now to host your application in local host we need to host the application you just created, For that run following command.

ng serve

Good to go your first application is now created and ready for use.now simply go to your browser and paste the URL

Now the browser will get angular2 directives and your first page will be loaded as following.

For more Query refer

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download