1👍
✅
You can use $location is you do not want to actually navigate.
If you do want to navigate you can use:
$window.location.href
Source:stackexchange.com
1👍
You can use $location is you do not want to actually navigate.
If you do want to navigate you can use:
$window.location.href