How to redirect to an external URL in Angular2?
You can use this-> window.location.href = '...';
This would change the page to whatever you want..
Angular 7 - Redirect to external url without using directive
You can just add //
to the front of the URL without http(s)
<a href="//{{ link }}"
rel="noopener noreferrer"
target="_blank">
{{ link }}
</a>
Related Topics
How to Download File from Server
"Var" or No "Var" in JavaScript's "For-In" Loop
How to Remove a Key from a JavaScript Object
What Is This Practice Called in JavaScript
Incorrect Result in JavaScript Calculation
Es6 Promise.All() Error Handle - Is .Settle() Needed
Is It Safe to Assume Strict Comparison in a JavaScript Switch Statement
How to Set State of Response from Axios in React
How to Set State of Response from Axios in React
Which Edition of Ecma-262 Does Google Apps Script Support
Classical Inheritance VS Prototypal Inheritance in JavaScript
How to Log All Events Fired by an Element in Jquery
Maximum Call Stack Size Exceeded on Npm Install
Need to Cancel Click/Mouseup Events When Double-Click Event Detected
Where to Save a Jwt in a Browser-Based Application and How to Use It