UI Router is a routing framework for AngularJS, which allows you to organize the parts, or components of your interface into a state machine. Unlike the ngRoute module, which is organized around URL routes.