how to redirect to an external url in angular 6 code example Example: angular redirect to external url window.location.href = '...';