Steps to create a Sample Angular Application

Below are the steps to create a sample Angular Application:


1. Download Nodejs

https://nodejs.org/en/download/

2. Setting the npm path

3. Install the Angular CLI, using the below command in node command prompt

npm install -g @angular/cli

4. Creating the first application in node command prompt, using the below command:

ng new HelloWorld

5. Running the application:

Go to the application directory, cd HelloWorld and then run the below command:

ng serve

Congratulations!!







Comments