Skip to content

Instantly share code, notes, and snippets.

@Nicolab
Forked from elranu/gist:7237386
Created April 9, 2014 10:31
Show Gist options
  • Save Nicolab/10252452 to your computer and use it in GitHub Desktop.
Save Nicolab/10252452 to your computer and use it in GitHub Desktop.
var injector = angular.injector(['module1', module2, 'ng']);
var service = injector.get("serviceName");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment