ui-router
AngularJS – Run codes when entering or exiting a state in UI-Router
This post shows how to run codes when you go to and/or leave from a particular state (or route). One very simple use-case for this is when you want to log something right before a page is displayed and/or before moving to another page. Continue Reading
AngularJS Routing Dynamically with UI-Router
Previously I wrote about routing using UI-router. This post demonstrates how to programmatically move from one state to another instead on a set of ui-sref links. Continue Reading
AngularJS Routing with UI-Router
Previously I wrote about routing using ngRoute. This post demonstrates how to implement routing using UI-Router, a rather flexible routing solution with nested views in AngularJS unlike ngRoute. Continue Reading
Recent Comments