What is the purpose of the ng-repeat directive in AngularJS?
A. To define a custom directive
B. To create a new scope
C. To bind data to a controller
D. To repeat HTML elements for each item in a collection
Answer:D
What is the purpose of the ng-repeat directive in AngularJS?
A. To define a custom directive B. To create a new scope C. To bind data to a controller D. To repeat HTML elements for each item in a collection