In this blog, we can see how to create a new project in Angular 2 and above version. The given steps are common for all versions of Angular not for AngularJS.How to create my first angular application:
Creating an angular application is very simple. you can follow the below steps you can easily create your first application in angular.
Make sure below software’s are installed in your system.
Steps for installing Angular CLI:
- You should be installed NodeJS in your system before you start installing Angular CLI.
- open windows command prompt. then enter your below comment. it’s takes some time to install depends on your internet bandwidth.
Steps for creating an angular applications:
First you choose where you want to create the application. then open it in command prompt.
my-app is application name.
Open your new application in command prompt
Run the angular application
Now open your brows then enter http://localhost:4200
4200 is a default port number.