Angular Introduction and Set Up

Yashaswi Yogeshwara
Sep 6, 2018 · 1 min read

In this post and in series of following articles lets talk about how to build a simple angular application and learn about some of angular’s fundamentals.

Follow below two steps to set up angular in your system.

  1. Install Node Js from NodeJs website.

2. To install angular run npm install -g @angular/cli in command prompt.

Now that angular is installed lets create a simple application.

  1. Run ng new DemoApp in the command prompt. This will create a project folder in the path specified in the command prompt.
  2. Go inside the project folder in command prompt and run ng serve command. Now open any browser and type http://localhost:4200/ .

Note: To open a command prompt in a specific folder in Windows OS. Go inside the folder in the file system and in the address bar type cmd and enter.

You have successfully set up and created an angular app. In the next article lets talk about folder structure in an angular application and add some functionality to the created DemoApp.

angularlearning

Angular tutorials

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade