When I use the html tag to define a base URL for all relative links on a page, anchor links also refer directly to the base URL. Is there a way to
If you're using Angular 2+ (and just targeting the web) you can do this:
component.ts
document = document; // Make document available in template
component.html
Click Here