Replace AngularJS's built-in ngRoute with UI-Router to gain support for nested and parallel views.
Define your AngularJS app's navigation as a hierarchy of named states instead of raw URL patterns.
Build a dashboard where a sidebar and main content area update independently based on the current state.
Port a UI-Router AngularJS app's routing concepts to the React or Angular 2+ version of UI-Router.
Designed for AngularJS 1.x (a legacy framework), separate packages exist for Angular 2+ and React.
UI-Router is a routing framework for AngularJS, which is the older 1.x version of Google's Angular web framework. Routing here refers to the machinery that keeps the URL in a browser bar in sync with what the user is looking at in a single-page application. A single-page app is a website that loads once and then swaps content in and out as you navigate, without reloading the whole page. The routing layer has to update the URL as the user moves around, and also do the reverse: when the URL changes, drive the app to show the right content. That two-way relationship is what the README describes. What distinguishes UI-Router from simpler routing tools is how it organizes the application. Rather than just mapping URLs to templates, it models the whole app as a hierarchical tree of named states. A state machine, a standard computer science concept for tracking which mode something is in, manages the transitions between those states in a structured way. This approach supports nested views, where one area of a page can contain its own independently swappable sub-section, which flat URL-based routing handles awkwardly. The README is short and acts mostly as a links hub. It notes that this repository contains the Angular 1.x source, and points to separate projects for Angular 2 and React that carry the same state-based routing ideas into those other frameworks. From there it links to tutorials, API documentation, a downloadable build, a guide, a sample app, and a frequently asked questions page. Extra resources listed include an in-depth wiki, slides comparing UI-Router to AngularJS's built-in routing, and several introductory videos. There are no installation steps or code samples in the README itself, those live in the linked documentation. Anyone reporting an issue or contributing code is directed to read the contributor guidelines first.
← angular-ui on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.