Angularjs simple front-end apps using ui-router

Angularjs is flexible for Single Page Application(SPA). This post explains you that how we can perform navigating between one view to another view using ui-router module and Bootstrap for layouts. Please go to this post If you are interested this demo using ngRoute module.


Module Source:

Dependent Module: ui.router

Router Provider:

Default View Config:

Router Config:

View Directive: ui-view

Templates: Used In-line templates home.html, projects.html..etc., (Refer code)

Link Directive : ui-sref=”home”  (here ‘home’ is a state, not url)

Full Source:




1 Comment

  1. Really very good explanation with example

Leave a Reply

Your email address will not be published.


Solve : *
21 − 10 =

© 2019 Asik Blog

Theme by Anders NorenUp ↑