# 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.