- *ngIf: only display element when the condition is true, such as: *ngIf = “condition”
- *ngFor: repeat display element for several time, such as: *ngFor = “let elem of elements; let i = index”, elements is an array, elem represent each element of an array from index 0, index is the index of an array