AnsweredAssumed Answered

Diff. b/w angular-route and angular-ui-router?

Question asked by alexacaroline on Dec 28, 2017



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?

Thank You

Alexa Caroline