Question - What is the purpose of ngFor directive?
Answer -
We use Angular ngFor directive in the template to display each item in the list. For example, here we iterate over list of users,
{{ user }}
The user variable in the ngFor double-quoted instruction is a template input variable