What is the purpose of the ng-options directive in AngularJS?
A. To create a new scope
B. To manage user authentication
C. To repeat HTML elements for each item in a collection
D. To generate a list of options for a select element
Answer:D
What is the purpose of the ng-options directive in AngularJS?
A. To create a new scope B. To manage user authentication C. To repeat HTML elements for each item in a collection D. To generate a list of options for a select element