Q. What is the Angular directive used for iterating over a list?

  • (A) *ngFor
  • (B) *ngIf
  • (C) ngSwitch
  • (D) ngStyle
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngFor
Explanation: *ngFor is used to loop over lists and render elements.
Explanation by: Mr. Dubey
*ngFor is used to loop over lists and render elements.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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