A

Admin • 833K Points
Coach

Q. Which directive is used to conditionally include a template in Angular?

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

Explanation by: Admin

*ngIf conditionally includes or excludes a template based on a Boolean.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.