Standalone Components in Angular — a practical guide to Angular standalone components with clear examples you can reuse in real projects.
Angular Tutorial Series (37/119). Prefer one article? Read the complete Angular tutorial.
Short description
This is the modern Angular default path.
Standalone tip
@Component({
standalone: true,
imports: [RouterLink, CurrencyPipe],
templateUrl: './product.html',
})
export class ProductComponent {}