Q. Which Angular directive is used to loop through a list and render items?

  • (A) *ngIf
  • (B) *ngSwitch
  • (C) *ngFor
  • (D) *ngBind
πŸ’¬ Discuss
βœ… Correct Answer: (C) *ngFor
Explanation: *ngFor is used to iterate over a list and render each item in the template.
Explanation by: Mr. Dubey
*ngFor is used to iterate over a list and render each item in the template.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
66
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate