Skip to content

Instantly share code, notes, and snippets.

@elranu
Created October 30, 2013 18:16
Show Gist options
  • Select an option

  • Save elranu/7237386 to your computer and use it in GitHub Desktop.

Select an option

Save elranu/7237386 to your computer and use it in GitHub Desktop.

Revisions

  1. elranu created this gist Oct 30, 2013.
    2 changes: 2 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    var injector = angular.injector(['module1', module2, 'ng']);
    var service = injector.get("serviceName");