Directives

Definition

These DOM elements are typescript functions that modify or add behavior in a template.
Directives are categorized into three categories based on their behavior. The directives consist of Component, Structural, and Attribute

ngFor
A directive that produces a template for each item in a collection. Once the directive is placed on an element, it becomes the parent of the cloned templates.

Readingmine is platform of best editors, well explained.