← BYTES
AngularJS·Starter·Ref: 5.1.12

What is the basic purpose of the ng-repeat directive?

Have a question about this video? Mention reference 5.1.12 when you contact us.

a.It clones a DOM element once for each item in a collection (array or object), binding each clone to that item
b.It repeats an HTTP request automatically
c.It repeats a CSS animation
d.It loops a controller function forever
ng-repeat="item in items" instantiates the template once per item in the items collection, giving each cloned instance its own child scope with 'item' bound to that particular element of the array.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES5112#AngularJS