I\'m trying to Open a new page when user clicks on a link. I can\'t use Angular 2 Router, because it doesn\'t have any functionalities to redirect to an external URL.
Another possible solution is:
const link = document.createElement('a'); link.target = '_blank'; link.href = 'https://www.google.es'; link.setAttribute('visibility', 'hidden'); link.click();