Created
February 11, 2019 22:03
-
-
Save gaboelnuevo/ff100a6a2befb692d5a2b93031170b98 to your computer and use it in GitHub Desktop.
angular-module-info-patch.js
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
"use strict"; | |
var _oldModuleFunction = angular && angular.module; | |
if (_oldModuleFunction) { | |
angular.module = function () { | |
var _module = _oldModuleFunction.apply(void 0, arguments); | |
if (_module && !_module.info) { | |
_module.info = function () { | |
return _module; | |
}; | |
return _module; | |
} | |
return _module; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment