1. Code
  2. JavaScript

How to Define State With Angular UI-Router

Scroll to top
Read Time: 1 min

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

Defining state in Angular-UI RouterDefining state in Angular-UI RouterDefining 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.

Did you find this post useful?
Want a weekly email summary?
Subscribe below and we’ll send you a weekly email summary of all new Code tutorials. Never miss out on learning about the next big thing.
Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.