Reputation: 12813
How can I set up my AngularJS app to redirect to a specific route whenever a user clicks on page reload regardless of which ng-route the app is currently situated?
For example, if the user is at '/phones/:phoneId', when the user reloads the page the route will be set to '/phones'.
Upvotes: 0
Views: 154