title: $rootScope is undefined when testing with Karma
body: <p>I am trying to write some unit tests for an angular project. I've followed some examples about testing a controller but I always end up with the same problem: $rootScope seems to be undefined.</p>
  
  <p>My test.js:</p>
  
  <pre><code>describe("Unit: BodyCtrl", function() {
  
      var scope;
  
      beforeEach(function($rootScope, $controller) {
          scope = $rootScope.$new();
      });
  
      it('foo should be foo', function() {
          expect("foo").toBe("foo");
      });
  })
  </code></pre>
  
  <p>and the error:</p>
  
  <pre><code>TypeError: Cannot read property '$new' of undefined'
  </code></pre>
  
  <p>I have included all the angular files in karma.conf.js. Could it cause problems that I have mounted the main application through sshfs from a server to my local Ubuntu 14.04 and Karma is installed on the said local machine?</p>