Last active
August 29, 2015 14:07
-
-
Save davidstump/71eb005a354c204a4814 to your computer and use it in GitHub Desktop.
Disable Angular URL Manipulation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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