A

Admin • 802.91K Points
Coach

Q. What is the purpose of the 'ngFor' directive in Angular?

  • (A) To loop over a collection and render elements
  • (B) To conditionally display elements
  • (C) To bind data to forms
  • (D) To define routes
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
ngFor repeats an element template for each item in a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.