juniorAngularJS
What is ng-repeat in AngularJS?
Updated May 15, 2026
Short answer
ng-repeat iterates over collections.
Deep explanation
It creates DOM elements for each item in array.
Real-world example
Rendering product lists.
Common mistakes
- Not using track by causing re-render issues.
Follow-up questions
- What is track by?