My question would be regarding angular 4, how to get route params, if for example a user gets on your page with, instead of the default url, like for example http://localh
http://localh
Access current url via Location
url
Location
public constructor(location:Location) { let url = location.prepareExternalUrl(location.path()); }
and parse out id from this.
id