What is the purpose of the ng-model directive in AngularJS?
A. To manage user authentication
B. To handle HTTP requests
C. To provide data to controllers
D. To bind input fields to a variable in the model
Answer:D
What is the purpose of the ng-model directive in AngularJS?
A. To manage user authentication B. To handle HTTP requests C. To provide data to controllers D. To bind input fields to a variable in the model