Angular is a free, open-source, full-featured frontend framework built and maintained by Google, written entirely in TypeScript. It's reported in roughly 18.2% of developer surveys, the #7 most-used web technology worldwide. Unlike lighter libraries, Angular ships routing, forms, and an HTTP client built in as one opinionated "batteries included" system, which is why it's favored heavily in large enterprise applications that want one prescribed way of doing things.
An Angular component is a TypeScript class decorated with @Component, pairing a template with logic and bindable properties.
import { Component } from '@angular/core';
@Component({
selector: 'app-counter',
template: `
<p>You clicked {{ count }} times</p>
<button (click)="increment()">Click me</button>
`
})
export class CounterComponent {
count = 0;
increment() {
this.count++;
}
}
Install the Angular CLI globally, then scaffold a new project — it generates the full folder structure, config, and tooling for you.
# install the Angular CLI
npm install -g @angular/cli
# scaffold a new project
ng new my-app
cd my-app
ng serve