Created
April 19, 2016 12:04
-
-
Save clemgrim/1f69097d5c8db52e0251064f30bfb36a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
angular.module('app').config( ['$provide', function ($provide){ | |
$provide.decorator('$browser', ['$delegate', function ($delegate) { | |
$delegate.onUrlChange = function () {}; | |
$delegate.url = function () { return ""}; | |
return $delegate; | |
}]); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment