-
-
Save alincc/404b1e20197a1c7119d0b1120dd64f82 to your computer and use it in GitHub Desktop.
AngularJS snippet for Chrome, to debug apps
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
var injector = angular.injector(["ng"]); | |
var func = function($http) { | |
}; | |
injector.invoke(func); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment