What is the purpose of the ng-options directive in AngularJS?
A. To handle HTTP requests
B. To conditionally show or hide an element
C. To provide data to controllers
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 handle HTTP requests B. To conditionally show or hide an element C. To provide data to controllers D. To generate a list of options for a select element