Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

ui-router

> 前端框架
Open source

The de-facto solution to flexible routing with nested views in AngularJS

13.4K stars0 likes1 views
WebsiteGitHub

About

The de-facto solution to flexible routing with nested views in AngularJS

AngularUI Router  

Note: this is the Angular 1.x source for UI-Router version 1.x. If you are looking for the source for UI-Router version 0.x, it can be found here


The de-facto solution to flexible routing in angular


Tutorials | API Docs | Download stable (or Minified) | Guide | Sample App | FAQ | Report an Issue | Contribute | Help! |


Angular UI-Router is a client-side Single Page Application routing framework for AngularJS.

Routing frameworks for SPAs update the browser's URL as the user navigates through the app. Conversely, this allows changes to the browser's URL to drive navigation through the app, thus allowing the user to create a bookmark to a location deep within the SPA.

UI-Router applications are modeled as a hierarchical tree of states. UI-Router provides a state machine to manage the transitions between those application states in a transaction-like manner.

Get Started

  • UI-Router for Angular 1
  • UI-Router for Angular 2
  • UI-Router for React

Resources

  • In-Depth Guide
  • Slides comparing ngRoute to ui-router
  • UI-Router Extras / Addons for legacy (0.x) (@christopherthielen)

Videos

  • Introduction Video (egghead.io)
  • Tim Kindberg on Angular UI-Router
  • Activating States (egghead.io)
  • Learn Angular.js using UI-Router (LearnCode.academy)

Reporting issues and Contributing

Please read our Contributor guidelines before reporting an issue or creating a pull request.

Issues· 25 open

View all issuesOpen on GitHub
  • #3844

    Documentation Broken

    Updated Dec 4, 2025
  • #3849

    Is this library still being maintained?

    Updated Jul 24, 2025
  • #3854

    Angular: StateService injected in custom library results in R3InjectorError

    Updated Aug 2, 2024
  • #3857

    str.split is nto a function

    Updated May 23, 2024
  • #3851

    V1.1.0 - TypeError: Cannot read properties of undefined (reading 'inherit')

    Updated May 3, 2024
  • #3848

    Support for Standalone components

    Updated Aug 21, 2023
  • #3846

    dependency's version is not the same

    Updated Oct 8, 2022
  • #3841

    Transition Rejection : while upgrading angularjs from 1.5 to 1.8 using angular-route:1.0.0

    Updated Sep 23, 2022
  • #3816

    URL param with type date and default value null breaks

    Updated Jul 26, 2022
  • #3834

    No services listed in 2.x docs

    Updated Apr 19, 2022

> Tags

TypeScriptangularjsjavascriptrouterrouting

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架