Loading...
Loading...
By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.
Angular is an open-source JavaScript framework developed by Google, designed for creating dynamic web applications, especially SPA (Single Page Applications).
Angular is built on TypeScript, uses powerful component, directive, service and module system.
import { Component } from '@angular/core';
@Component({
selector: 'app-hello',
template: `<h1>Hello, {{ name }}!</h1>`,
})
export class HelloComponent {
name = 'Angular';
}
<!-- somewhere in HTML -->
<app-hello></app-hello>
| Characteristic | Angular | React | Vue |
|---|---|---|---|
| Type | Framework | Library | Framework |
| Language | TypeScript | JavaScript + JSX | JavaScript + templates |
| Learning curve | Medium / high | Low / medium | Low |
| Architecture | MVVM, modular | View-only, declarative | MVVM |
| Corporate support | Meta (Facebook) | Alibaba, Individual |
Interesting fact:
Angular is second generation. Previously AngularJS (v1.x) existed, which is not compatible with new version (v2+).