Angular 2 get URL from ComponentInstruction
<p>I have a custom <code>router-outlet</code> that caches components.</p>

<p>The code for that is this: <a href="https://gist.github.com/waeljammal/467286d64f59f8340a93#file-persistentrouteroutlet-ts-L75" rel="nofollow">https://gist.github.com/waeljammal/467286d64f59f8340a93#file-persistentrouteroutlet-ts-L75</a></p>

<p>The code example uses the component type as the cache key - however, I need mine to cache by the URL so that I can cache two different instances of the same component.</p>

<p>Is there any way to get the URL based on the <code>ComponentInstruction</code>?</p>