1.

What Is The Difference Between `{'ngfor'}` And `{`ngforof`}` In Angular 2?

Answer»

Angular 2 – ngFor vs. ngFor:

  1. The [ngFor] is not a TYPE SAFE.
  2. The [NgForOf] is a type Safe.
  3. The [NgFor] DIRECTIVE instantiates a template once PER item from ITERATE.
  4. The [ngFor] and [ngForOf] are actually the selectors of the [NgForOf] directive and it is not two distinct things.
  5. The [ngFor] will be works like as collections.
  6. The [ngForOf] will be works like as generics.

Angular 2 – ngFor vs. ngFor:



Discussion

No Comment Found