State

How to Define State With Angular UI-Router

 

UI-Router is a flexible and powerful alternative for AngularJS routing. UI-Router goes beyond the Angular team’s own ngRoute module by building in support for nested routes and for events triggered by route changes.

In this short video from my course, Single-Page Apps With Angular UI-Router, you’ll learn what states are and see how we can add them to our app’s bootstrapping phase using the $stateProvider.

Related Links

  • State Manager
  • URL Routing
Defining state in Angular-UI Router

Watch the Full Course

In the full course, Single-Page Apps With Angular UI-Router, you’ll learn how to build a single-page app in Angular for displaying and editing contacts. Along the way, you’ll learn how to use some of the advanced features of UI-Router.

Leave a Comment

Scroll to Top