router navigate to external url angular code example Example: angular redirect to external url window.location.href = '...';