title: Cannot spy on angular.element
body: <p>I have one Jasmine test that is continously failing due to a <code>spyOn</code> not executing.</p>
  
  <p>The following test will automatically fail:</p>
  
  <pre><code>it('simple test', function() {
      spyOn(angular, 'element');
  });
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>TypeError: 'undefined' is not an object (evaluating 'angular.element(handle.elem).off')
          at /Users/geoff/Project/www/components/angular-mocks/angular-mocks.js:1946
          at /Users/geoff/Project/www/components/angular-mocks/angular-mocks.js:1977
  </code></pre>
  
  <p>This error only seems to happen with <code>angular.element</code>. <code>spy</code>ing on other <code>angular</code> methods such as <code>angular.copy</code> and <code>angular.forEach</code> do not throw this error. I am using Jasmine 2.0 and Angular ~1.3. Any advice on fixing this problem would be appreciated.</p>