Home What is the difference between angular-route and angular-ui-router?
Reply: 0

What is the difference between angular-route and angular-ui-router?

user613
1#
user613 Published in July 21, 2018, 8:51 pm

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?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.414404 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO