What is the difference between angular-route and angular-ui-router?
Asked 07 September, 2021
Viewed 1.4K times
  • 60
Votes

I'm planning to use AngularJS in my big applications. So I'm in the process to find out the right modules to use.

What is the difference between ngRoute (angular-route.js) and ui-router (angular-ui-router.js) modules?

In many articles when ngRoute is used, route is configured with $routeProvider. However, when used with ui-router, route is configured with $stateProvider and $urlRouterProvider.


  

Which module should I use for better manageability and extensibility?

15 Answer