This post demonstrates how to create nested views with 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.
This post demonstrates how to use services from another module.
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.
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.
With AngularJS, you write Single Page Applications (SPAs) that uses only a single main page (e.g., index.html) to render its User Interface (UI) component. How the UI visually response to users happens within that single page. Each section of the page may display different content. SPAs generally do not redirect to another main page.
Routing is a way to change the content of one or more sections of the page. One way to do implement it is using ngRoute
This is an AngularJS tutorial. There are two (2) versions of “Angular” framework – 1.x and 2.x. This post is about 1.x.