Angular Basics

Shivangi Tyagi
1 min readSep 7, 2019

--

/*********************** Angular **********************/

=> Fisrt install SublimeText3 for Angular.
=> After installing Open cmd nd run below command
a. npm install @angular/cli -g
or b. npm install -g @angular/cli

*If it shows Leaf Signature error
Then first execute
npm config set strict-ssl false
then execute install command (written above)

=> For checking version command is
ng — version

/******************** For Creating Project******************************/
=> For Creating new project command is
ng new Projectname
eg: ng new DemoAngular

=> After this it will ask for routing
Would you like to add Angular routing?
write no (bcz currently we don’t require routing)

=> After this it will ask for CSS
Which stylesheet format would you like to use?
by default it will use css ,so just enter

Now it will start preparing project will take few minutes.

--

--

Shivangi Tyagi

I’m Dot net developer . Working with MVC , C# ,SQL Server,Ajax, Jquery , JavaScript .Also started working on Angular.