title: Error: Injector already created, can not register a module! Angular 1.2 jasmine 1.3.0
body: <p>i'm writing a small application in angular and jasmine 1.3 for my test.</p>
  
  <p>First test is working fine, but i have a situation with the second one.</p>
  
  <p>here is a snippet of code with witch i'm struggling:</p>
  
  <pre><code>describe('helperFactoryTest', function() {
  
      var helperFactory = null,
          items = [
              {id : 1, item : 'Apples', qty : 2, type : 2, done : 1 },
              {id : 2, item : 'Bread', qty : 1, type : 1,  done : 1 },
              {id : 3, item : 'Bananas', qty : 5, type : 2,  done : 0 },
              {id : 4, item : 'Pears', qty : 8, type : 2,  done : 0 }
          ],
  
          thisItems = [];
  
      beforeEach(function() {
  
          module('myApp');
  
          inject(function(_helperFactory_) {
  
              helperFactory = _helperFactory_;
  
          });
      });
  
  
      it('should filter array and return records that are completed (done)',
          function() {
  
              thisItems = helperFactory.filterFieldArrayByDone(items, 'id', 1);
  
              expect(thisItems.length).toEqual(2);
  
          }
      );
  
  
  describe('ShoppingLIstController helper methods test', function() {
  
      var $scope,
          helperFactory,
          ShoppingListController;
  
  
      beforeEach(function() {
  
          module('myApp');
  
          inject(function($rootScope, _helperFactory_, $controller) {
  
             $scope = $rootScope.$new();
  
             helperFactory = _helperFactory_;
  
             ShoppingListController = $controller('ShoppingListController', {
  
                 $scope : $scope,
                 helperFactory : helperFactory
  
             });
  
          });
  
      });
  
  
      it('should return 0 for 2 characters', function() {
  
          $scope.item = '12';
  
          expect($scope.howManyMoreCharactersNeeded()).toEqual(0);
  
      });
  
  
  });
  
  
  
  });
  </code></pre>
  
  <p>Here is the function that i'm calling in my test:</p>
  
  <pre><code>$scope.howManyMoreCharactersNeeded = function() {
  
                  var characters = (MIN_LENGTH - $scope.item.length);
  
                  return (characters &gt; 0) ? characters : 0;
  
              };
  </code></pre>
  
  <p>MIN_LENGTH is equal to 2;</p>
  
  <p>$scope.item.length is the length of characters in textfield;</p>
  
  <p>Can you please tell me what i'm doing wrong.</p>