What is the main purpose of $routeprovider in angularjs?



What is the main purpose of $routeprovider in angularjs?..

Answer / Birendra Kumar

The primary purpose of `$routeProvider` in AngularJS is to define routes and their associated templates, controllers, and dependencies for an application.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What does ng controller do?

1 Answers  


What is mvc application?

1 Answers  


How to disable right click event in angularjs?

1 Answers  


What an angular 5 component made of? How do you generate a new component?

1 Answers  


What is the difference between activatedroute and activatedroutesnapshot?

1 Answers  


What is the use of bearer token?

1 Answers  


What is ng build command?

1 Answers  


Explain zone in angular?

1 Answers  


Can we use angularjs in android?

1 Answers  


Explain digest life-cycle in AngularJS?

1 Answers  


What is life cycle hook in angular?

1 Answers  


What routing means?

1 Answers  


Categories