Skip to content

Instantly share code, notes, and snippets.

@punund
Created January 28, 2015 22:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save punund/5b97e94493aa1c26e8cd to your computer and use it in GitHub Desktop.
Save punund/5b97e94493aa1c26e8cd to your computer and use it in GitHub Desktop.
How to check Angular service from console
angular.element(document.querySelector('.ng-scope')).injector().get('MyService')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment