Q. Which Angular directive can be used to conditionally add or remove an element from the DOM based on multiple conditions?
β
Correct Answer: (A)
*ngIf with else block
Explanation: Using *ngIf with else allows conditional rendering based on conditions.