Question:What is use of $routeProvider in AngularJS?
Answer $routeProvider is the key service which set the configuration of urls, maps them with the corresponding html page or ng-template, and attaches a controller with the same.
+ Report
What is use of $routeProvider in AngularJS?