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