In which case we have to use the NgFor or others
Angular 2 - ngFor vs. ngForOf
-
The [ngFor] is not a type safe -
The [NgForOf] is a type Safe -
The [NgFor] directive instantiates a template once per item from iterate -
The [ngFor] and [ngForOf] are actually the selectors of the [NgForOf] directive and it is not two distinct things -
The [ngFor] will be works like as collections -
The [ngForOf] will be works like as generics