What is Angular?

Angular is a front-end framework brought by Google based on TypeScript

To write apps with Angular you have to first install Angular CLI which will set up a Angular project for you

Install Angular CLI using NPM:

C:\>npm install -g @angular/cli

-g stands for global

Create a new Angular project called helloworld with Angular CLI

C:\>ng new hello-world

Start the Angular server

C:\>ng serve

and open a browser and call http://localhost:4200

An Angular component is basically a TypeScript class. An Angular application ist bronken up into components.

An Angular component has a declaration