Tagged: Angular purpose of ngFor directive

Angular interview Questions and Answers Part 3 0

Angular interview Questions and Answers Part 3

What is the purpose of ngIf directive? Sometimes an app needs to display a view or a portion of a view only under specific circumstances. The Angular ngIf directive inserts or removes an element...