Reputation: 461
I'm trying to get the routing in my angular app to have a wildcard in between slashes, like so:
/event/**/{ID}
In this case, whatever is in between /event and /{ID} doesn't matter at all and is only here for display purposes. I know about wildcards in Angular, written like so:
path: '**'
But the following route doesn't work:
path: 'event/**/:id'
Is there any way to make this work?
Upvotes: 1
Views: 667