AngularJS tutorial for beginners|Setup and Installation of Angular 2 to Create My First App.

Опубликовано: 05 Декабрь 2025
на канале: Application Development Tutorial Point
579
1

AngularJS tutorial for beginners,Learn AngularJS
Learn Angularjs Online Most simple way.
http://learnandmastercoding.blogspot....
Website: http://learnandmastercoding.blogspot.in
Website: http://www.stepbystepdevelopment.online
http://learnandmastercoding.blogspot....

Steps followed.

Visit site https://angular.io/

Install Node.js from browser. This will install node and npm command.

Install @angular/cli

Enter following commands from Command Line.
npm install -g @angular/cli
ng new my-app
cd my-app
ng serve --open

This will open as localhost:4200 in browser.
Following issues may be faced while installation.

1. It may Hangs during installation of @angularjs/cli . Better use --verbose
option to check, if it is showing running installation statements.

2. Hanging problem is internal/local problem of Machine. This may be due
to virus issues, anti virus or firewall issue which is stopping to install
@angular/cli. Identify and eliminate the problem.

3. At times the path set is not correct and ng command does not work. Normally
the ng command is installed at C:\Users\ user name \AppData\Roaming
\npm and it may have ng command. Check and set the environment path
accordingly.