Q. Which Angular directive is used to iterate over a list?

  • (A) *ngFor
  • (B) *ngIf
  • (C) *ngSwitch
  • (D) *ngBind
πŸ’¬ Discuss
βœ… Correct Answer: (A) *ngFor
Explanation: `*ngFor` is a structural directive used to repeat a portion of HTML for each item in a list.
Explanation by: Mr. Dubey
`*ngFor` is a structural directive used to repeat a portion of HTML for each item in a list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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