I recently started using angular's ui-router and I am looking for a way to configure multiple URLs to point to the same state. For instance:
/orgs/12354/overview
// should show the same content as
/org/overview
Currently, my $state provider is set up something like this. However, I'm having trouble adding an alias '/org/overview' route that properly inherits from the 'org' parent state.
.state('org', {
abstract: true,
url: '/orgs/:orgID',
templateUrl: '/client/navigation/main.html'
})
.state('org.overview', {
url: '/overview',
templateUrl: '/client/overview/overview.html',
controller: 'OverviewCtrl'
})