What is the purpose of the ng-show directive in AngularJS?
A. To show or hide an element based on a condition
B. To repeat HTML elements for each item in a collection
C. To provide data to controllers
D. To handle HTTP requests
Answer:A
What is the purpose of the ng-show directive in AngularJS?
A. To show or hide an element based on a condition B. To repeat HTML elements for each item in a collection C. To provide data to controllers D. To handle HTTP requests