title: angularjs and mocha test Uncaught TypeError: (window.beforeEach || window.setup) is not a function
body: <p>I have been trying to test angular js with mocha in my meteor app. I installed ngMock and have injected it to my module. I get the following issue right as I start my app.</p>
  
  <p>I tried installing ngMock with both atmosphere and bower. Both shows the same issue.</p>
  
  <p><code>Uncaught TypeError: (window.beforeEach || window.setup) is not a function</code></p>
  
  <p>and after this I see throttle error in angularjs(I don't know what that means)
  <code>Uncaught TypeError: $$rAF.throttle is not a function</code></p>
  
  <p>I haven't even started writing tests for angular, I just downloaded the plugin.</p>
  
  <p>Is there anything I am missing?</p>