I have started using angular's ui-router, and I am trying to figure out how to have multiple URLS refer to a single state. For example:
/orgs/12354/overview
//retyrns the same pages as
/org/overview
My $state provider is currently set with something like this, and its unclear to my how to slip in the alias '/org/overview' route such that it properly inherits from the 'org' parent.
.state('org', {
abstract: true,
url: '/orgs/:orgID',
templateUrl: '/client/navigation/main.html'
})
.state('org.overview', {
url: '/overview',
templateUrl: '/client/overview/overview.html',
controller: 'OverviewCtrl'
})