Skip to content
masterclass Buddy

Angular · Directive

NgFor

NgFor renders a template for each item in an iterable. It is deprecated; use the @for block for new code.

Last updated

Syntax

class NgFor<T, U extends NgIterable<T> = NgIterable<T>> implements DoCheck

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • NgForOfContext
  • NgIf
  • CommonModule
  • NgForOf

Source: NgFor • Angular. Checked 2026-11-03.