Created
August 1, 2016 07:00
-
-
Save shlomitc/d050f0c2729002848ad4a146d24d4421 to your computer and use it in GitHub Desktop.
Get an angular service from console
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.element(document.body).injector().get('serviceName'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment