Q. Which Angular directive is used for conditional rendering?
β
Correct Answer: (A)
*ngIf
Explanation: *ngIf is used to include or exclude an element based on a condition.