Turn off URL manipulation in AngularJS
Not sure of the side effects of this, but it gets the job done. Note that it will disable all location manipulation from the angular app, even if intended. angular.module(‘sample’, []) .config( [‘$provide’, function ($provide){ $provide.decorator(‘$browser’, [‘$delegate’, function ($delegate) { $delegate.onUrlChange = function () {}; $delegate.url = function () { return “”}; return $delegate; }]); … Read more