What is $routeprovider in angularjs?



What is $routeprovider in angularjs?..

Answer / Nitish Kumar Gupta

In AngularJS, $routeProvider is a service that allows you to configure routes for your application. It is used for navigation between views and manage templates. When the URL changes, $routeProvider helps AngularJS load the correct controller, template, and dependencies.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What is json web token?

1 Answers  


Explain digest life-cycle in AngularJS?

1 Answers  


What is binding in js?

1 Answers  


What are the new features of angular 2?

1 Answers  


How to access jQLite or jQuery with AngularJS?

1 Answers   SLK Software,


What is jws and jwe?

1 Answers  


What is sross site scripting (xss) attack?

1 Answers  


In angular 2 module consists of what arrays?

1 Answers  


What is difference between react and angular?

1 Answers  


What is the use of canactivate in angular?

1 Answers  


What is rx observable?

1 Answers  


What is route guard?

1 Answers  


Categories