What is the purpose of the ng-switch directive in AngularJS?
A. To manage user authentication
B. To create a new scope
C. To conditionally create or remove an element
D. To conditionally show or hide multiple elements
Answer:D
What is the purpose of the ng-switch directive in AngularJS?
A. To manage user authentication B. To create a new scope C. To conditionally create or remove an element D. To conditionally show or hide multiple elements