Step By Step Guide Of Angular Part I
Guide To Angular Part 1- Sagar Jaybhay
What is Angular?
Why we need angular?
Yes, you can create a web application using these 2 but when your application grows it is very hard to maintain all that.
So for creating an application, we need first structure by that way in future we don’t have any problem.
Benefits of Using Angular
- Clean structure of the application
- Re-usability of code is achieved
- The application becomes more testable.
The architecture of Modern application
And back-end mostly interacts with the help of web-API, because the back-end is sat on the web-server on the cloud which is responsible for store data and process that data.
Front-end is responsible for taking the data from the client. So angular is not used to store the data, because of the angular run on the client machine and for security reasons we don’t t store data on clients machine or might be the case user will change his/her computer or might use a different browser.
The API which uses for transfer data from the client to web-server or back-end uses HTTP protocol to access this endpoint.
The minimum version required for building the angular application is 6.9. We use the Node package manager (npm) to install the libraries.
To install Angular CLI globally use below command
npm install -g @angular/cli