A

Admin • 833K Points
Coach

Q. Which directive is used to repeat a template for each item in a collection?

  • (A) *ngFor
  • (B) *ngIf
  • (C) ngSwitch
  • (D) ngClass
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

*ngFor is used for iterating over arrays or collections.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.