Skip to content

Instantly share code, notes, and snippets.

@davidstump
Last active August 29, 2015 14:07
Show Gist options
  • Save davidstump/71eb005a354c204a4814 to your computer and use it in GitHub Desktop.
Save davidstump/71eb005a354c204a4814 to your computer and use it in GitHub Desktop.
Disable Angular URL Manipulation
@App.config [
# disable angular url manipulation
$provide.decorator "$browser", ["$delegate", ($delegate) ->
$delegate.onUrlChange = -> angular.noop()
$delegate.url = -> ""
$delegate
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment