get current url 0th index value in angular 7 : <p>The url is 
 <a href="http://localhost:4200/horizontal/ecommerce/product-edit/men/2" rel="nofollow noreferrer">http://localhost:4200/horizontal/ecommerce/product-edit/men/2</a>
I want to get horizontal value</p>
