A

Admin • 828.70K Points
Coach

Q. What is the purpose of the 'ngIf' directive?

  • (A) Conditionally include or exclude elements from the DOM
  • (B) Loop over data
  • (C) Bind form controls
  • (D) Handle events
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
ngIf adds or removes elements based on a condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.