Skip to content

Instantly share code, notes, and snippets.

@jvorcak
Created September 25, 2015 11:26
Show Gist options
  • Save jvorcak/6cd330d25d603bb2f61b to your computer and use it in GitHub Desktop.
Save jvorcak/6cd330d25d603bb2f61b to your computer and use it in GitHub Desktop.
Inject angular service from a console
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