angularjs change route js 1

angularjs change route js

window.location.hash = 'new-route';

Here is what the above code is Doing:
1. We’re using the window.location.hash property to get the current hash value.
2. We’re using the window.location.hash property to set the current hash value.

Similar Posts