Q. Which Angular directive is used to loop through an array?

  • (A) *ngLoop
  • (B) *ngEach
  • (C) *ngFor
  • (D) *ngRepeat
πŸ’¬ Discuss
βœ… Correct Answer: (C) *ngFor
Explanation: *ngFor is used for rendering a list of items in Angular.
Explanation by: Mr. Dubey
*ngFor is used for rendering a list of items in Angular.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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