Skip to content

Instantly share code, notes, and snippets.

@ferdiemmen
Created November 22, 2017 09:20
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 ferdiemmen/317a592081613a6df380d85877dfadb6 to your computer and use it in GitHub Desktop.
Save ferdiemmen/317a592081613a6df380d85877dfadb6 to your computer and use it in GitHub Desktop.
AngularJS check content of service by name
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