What is the purpose of the ng-model directive in AngularJS?
A. To define a custom directive
B. To bind data to a controller
C. To manage user authentication
D. To create a new scope
Answer:B
What is the purpose of the ng-model directive in AngularJS?
A. To define a custom directive B. To bind data to a controller C. To manage user authentication D. To create a new scope