How to get an absolute Url by a route name in Angular 2? : <p>In my Angualar 2 (final) application I need often to create a full (absolute) Url by a route name (like '/products'), e.g. to provide a permalink to a specific page or to open a page from a component in another tab/window.</p>

<p>Is any Angular 2 API, which allow to get an absolute Url by a route name? If no, is some known woraround for, e.g. using javascript?</p>

<p>I've tried location or PathLocationStrategy (e.g. prepareExternalUrl), but the method returns '/products' instead of e.g. <a href="http://localhost/products" rel="noreferrer">http://localhost/products</a></p>
