Angularjs ngRoute vs ui-router

Router is playing important role in Single Page Application (SPA). It is getting & applying the Partials/Views/Templates into corresponding places. Also, using this technique, navigation between  one view to another view is performed.

ngRoute is a angular core module which is good for basic scenarios. I believe that they will add more powerful features in upcoming releases.


> Ui-router is a contributed module which is overcome the problems of ngRoute. Mainly Nested/Complex views.


Some of the difference between ui-router and ngRoute

Open in new tab for better results:

Sample  App:




  1. Very neatly explained , awesome…

  2. I’m thinking about migrating from ngRoute to ui-router. This table is awesome to help it out!

  3. BTW,
    Your captcha is not working. I had to edit the html to submit the comments. your class cptch_wrap is not rendering correctly.

Leave a Reply to mail2asik Cancel reply

Your email address will not be published.


Solve : *
30 ⁄ 3 =

© 2020 Asik Blog

Theme by Anders NorenUp ↑