how to get current url in angular component

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US