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
Total Preview: 1004
What is use of $routeProvider in AngularJS?
Copyright © 2024. Powered by Intellect Software Ltd