What is the purpose of the ng-app directive in AngularJS?
A. To define the root element of the application
B. To load external modules
C. To define a custom directive
D. To bind data to a controller
Answer:A
What is the purpose of the ng-app directive in AngularJS?
A. To define the root element of the application B. To load external modules C. To define a custom directive D. To bind data to a controller