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

  • 29 December 2017
  • 1 reply
  • 0 views

Badge

Hi,

 

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


1 reply

Badge

Thanks for writing such a wonderful post. Apart from that you can also look this,
hope this <a href="http://bit.ly/2XgmRdi">Angular JS</a> blog might be useful.

Reply