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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">