While trying to access window.location or window.history directly, how can I do the following in AngularJS:
For example:
Is this what you want?
$location.path('/blahblah').replace();
See API Docs for $location
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With