A

Admin • 832.27K Points
Coach

Q. Which directive is used to repeat a block of HTML for each item in a list?

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

Explanation by: Admin

*ngFor is used to iterate over a collection and render the template for each item.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.