url | @uirouter/angular
Options
Menu

Module url

URL subsystem

Contains code related to managing the URL

The primary API is found in UrlService, UrlService.config, and UrlService.rules.

Index

Type aliases

UrlRuleType: "STATE" | "URLMATCHER" | "REGEXP" | "RAW" | "OTHER"

Variables

defaultRuleSortFn: function

Default rule priority sorting function.

Default rule priority sorting function.

Sorts rules by:

  • Explicit priority (set rule priority using UrlRulesApi.when)
  • Rule type (STATE: 4, URLMATCHER: 4, REGEXP: 3, RAW: 2, OTHER: 1)
  • UrlMatcher specificity (UrlMatcher.compare): works for STATE and URLMATCHER types to pick the most specific rule.
  • Registration order (for rule types other than STATE and URLMATCHER)

Type declaration

Functions

Generated using TypeDoc