AngularJS Developer Question:
Download Questions PDF

Tell me 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.

Download AngularJS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is ng-bind directive?Tell me who created Angular JS?