title: Using $injector in AngularJS when integration testing (without using ngMock)
body: <p>I'm needing to setup some integration tests in AngularJS using Karma/Jasmine but having trouble, because when not using ngMock (since I want to hit the actual $http endpoints), there are no <code>module</code> or <code>inject</code> methods.</p>
  
  <p>So how do I inject services into my tests?</p>
  
  <p>I've tried <code>angular.injector.invoke(...)</code> but can't get it working, always comes back with an error like <code>Unknown provider: AuthServiceProvider &lt;- AuthService</code>. </p>
  
  <p>Thoughts?</p>