What is the purpose of the ng-repeat directive in AngularJS?
A. To handle HTTP requests
B. To manage user authentication
C. To repeat HTML elements for each item in a collection
D. To conditionally create or remove an element
Answer:C
What is the purpose of the ng-repeat directive in AngularJS?
A. To handle HTTP requests B. To manage user authentication C. To repeat HTML elements for each item in a collection D. To conditionally create or remove an element