πŸ“Š Angular
Q. Which Angular directive conditionally includes a template based on a boolean expression?
  • (A) *ngIf
  • (B) *ngFor
  • (C) [hidden]
  • (D) *ngSwitch
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngIf

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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