What is the role of the $routeProvider in AngularJS?

Instruction: Explain how the $routeProvider is used to configure routes in an AngularJS application.

Context: This question tests the candidate's understanding of AngularJS's routing mechanism, a key concept for creating single-page applications (SPAs).

Upgrade to view answer

Related Questions