How do i get the url of the current request in Angular 5?
I tried a couple of solutions i found online but nothing seems to work. - $window - Wrapping native window in WindowRef example
I've been looking for this all morning, but kinda new to Angular and get lost in the different examples online targeting different versions of Angular.
UPDATE: I'm using TypeScript
Thanks