title: Angular injecting $service results in Unknown provider: $serviceProvider
body: <p>Why when I run this in the karma runner:</p>
  
  <pre><code>describe('Service tests', function () {
  
  
      var DataServiceMock
      var httpBackend;
  
  
      beforeEach(angular.mock.module('app'));
  
   beforeEach(angular.mock.inject(function( $httpBackend, $service, DataService,  $injector){
  </code></pre>
  
  <p>results in this error</p>
  
  <blockquote>
    <p>Error: [$injector:unpr] Unknown provider: $serviceProvider &lt;- $service
      <a href="http://errors.angularjs.org/1.2.1/" rel="nofollow">http://errors.angularjs.org/1.2.1/</a>$injector/unpr?p0=%24serviceProvider%20%3C-%20%24service
          at /home/site/angular/angular.js:78:12</p>
  </blockquote>
  
  <p>Edit 2_<strong><em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em>__<em>_</em></strong></p>
  
  <p>I'm trying to mock the DataService for the dataHandlerService</p>
  
  <pre><code>describe('Service', function () {
  
  
      var DataServiceMock
      var httpBackend;
  
      var testUrl = "test/";
  
      beforeEach(angular.mock.module('app'));
  
    beforeEach(angular.mock.inject(function(){
      module(function ($provide) {
              $provide.value('DataService', DataServiceMock)
          })
      }));
  
      it('should have', inject(function(DataService) {
          expect('DataService').not.toBe(null);
      }));
  </code></pre>
  
  <p>and this error:</p>
  
  <blockquote>
    <p>Error: Injector already created, can not register a module!
          at workFn (/home/me/root/angular/angular-mocks.js:1985:15)</p>
  </blockquote>