I have an Angular 5 application, I use the angular router, most of my entry route components placed under a context id which represents a name in the app store (and some more data relevant for that context), I use the id for proper fetching, despite that the name is in most cases unique, I rather use an id.
So currently my url contains an id and I want it to contain a name instead without changing the state,
From: 'www.somesite/5/things'
To: 'www.somesite/five/things'
I want to keep the param as id, meaning when I'll subscribe to that route params I would get the id and I wont have to modify the router confoguration to be: name instead of id?
Can I achieve such scenario?