What is the purpose of the $location service in AngularJS?
A. To handle HTTP requests
B. To manage user authentication
C. To define routing information
D. To provide data to controllers
Answer:C
What is the purpose of the $location service in AngularJS?
A. To handle HTTP requests B. To manage user authentication C. To define routing information D. To provide data to controllers