Q. Which structural directive is used to conditionally include an element in the DOM?
β
Correct Answer: (A)
*ngIf
Explanation: *ngIf adds or removes an element based on a condition.