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