Some users enter my web app via invitations. so they would have a link that looks something like this: https://example.com/invitaion/12345
where 12345 is their unique invitation number.
When users click the link, and my AppComponent is initialized on the client side by the framework, how do I get the fact that the URL used was "invitation/*" and how do I get the invitation number?