πŸ“Š Angular
Q. Which directive is used to conditionally include a template in Angular?
  • (A) *ngIf
  • (B) *ngFor
  • (C) *ngSwitch
  • (D) *ngClass
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngIf

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

Explanation by: Mr. Dubey
*ngIf conditionally includes or excludes a template based on a Boolean.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
53
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate