1

Which Angular directive can be used to conditionally add or remove an element from the DOM based on multiple conditions?

Correct Answer: *ngIf with else block

Make the most of this question

This page focuses on one Angular MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Angular MCQs MCQ: Which Angular directive can be used to conditionally add or remove an element from the DOM based on multiple conditions? | Extra Education