Getting started with Angular



AngularJS is a JavaScript MVC framework developed by Google that lets you build well structured, easily testable, and maintainable front-end applications.AngularJS has evolved with time and even became better and now is known as Angular. It is written entirely again towards a new development workflow. 

It wouldn't be wrong to say that if you have not tried Angular you are missing out on so much. This framework consists of a tightly integrated toolset that helps us to build mindblowing, rich client-side applications in a fashion with less code, and more flexibility.

HOW TO INSTALL ANGULAR?

In order to start making angular web apps, you need to have Node.js installed. You can download a Node.js installer for your operating system from https://nodejs.org/en/download/.
Check the version of node.js installed using the command:

node --version
Node.js installation gives you access to npm, using which we can install angular CLI.
Now to install Angular CLI globally we use.

npm install -g @angular/cli
Now to create a new angular app use command:

ng new name-of-new-app
Congratulations Woah, You've successfully created an angular app. Now to see that running, go to root directory of the project use:

cd name-of-new-app
Now to run the project use:

ng serve
And yeah you will see this basic page going on the address localhost:4200,


Thank you for reading, keep developing.

Comments

Popular posts from this blog

Getting started with react

State Management in Flutter