A

Admin • 828.70K Points
Coach

Q. Which Angular directive conditionally includes a template based on a boolean expression?

  • (A) *ngIf
  • (B) *ngFor
  • (C) [hidden]
  • (D) *ngSwitch
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
*ngIf adds/removes elements from the DOM based on condition.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.