Created
September 25, 2015 11:26
-
-
Save jvorcak/6cd330d25d603bb2f61b to your computer and use it in GitHub Desktop.
Inject angular service from a console
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
var service = angular.element(document.body).injector().get('someService') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment