title: Uncaught ReferenceError : angular is not defined (Using testem)
body: <p>Error is found in line 1 of 2 files: 
  - controllers.js 
  - app.js </p>
  
  <p>Which is attached below together with html. </p>
  
  <p>The app appears when I start up local server but I am unable to login or signup by clicking the sign up button after entering my details. Is it a 404 error? </p>
  
  <p>I also tried to add these 2 lines into the index.html file (I thought was some items I didnt define) but did not work. </p>
  
  
  
  
  
  <p><strong>index.html file</strong> </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"&gt;
      &lt;title&gt;&lt;/title&gt;
  
      &lt;link href="lib/ionic/css/ionic.css" rel="stylesheet"&gt;
      &lt;link href="css/style.css" rel="stylesheet"&gt;
  
      *&lt;!-- ionic/angularjs js --&gt;*
      &lt;script src="lib/ionic/js/ionic.bundle.js"&gt;&lt;/script&gt;
      &lt;script src="https://cdn.firebase.com/v0/firebase.js"&gt;&lt;/script&gt; &lt;!-- firebase --&gt;
      &lt;script src="https://cdn.firebase.com/libs/angularfire/0.5.0/angularfire.min.js"&gt;&lt;/script&gt; &lt;!-- angularfire --&gt;
      &lt;script src="https://cdn.firebase.com/v0/firebase-simple-login.js"&gt;&lt;/script&gt; &lt;!-- firebase-simple-login --&gt;
  
      *&lt;!-- cordova script (this will be a 404 during development) --&gt;*
      &lt;script src="cordova.js"&gt;&lt;/script&gt;
      &lt;!-- app's js --&gt;
      &lt;script src="js/app.js"&gt;&lt;/script&gt;
      &lt;script src="js/controllers.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
   &lt;body ng-app="bucketList" animation="slide-left-right-ios7"&gt;
      &lt;ion-nav-bar class="bar-stable nav-title-slide-ios7"&gt;
        &lt;ion-nav-back-button class="button-icon icon ion-chevron-left"&gt;
          Back
        &lt;/ion-nav-back-button&gt;
      &lt;/ion-nav-bar&gt;
      &lt;ion-nav-view&gt;&lt;/ion-nav-view&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>controllers.js file</strong> (Error in first line)</p>
  
  <pre><code>angular.module('bucketList.controllers', [])
      .controller('SignInCtrl', [
          '$scope', '$rootScope', '$firebaseAuth', '$window',
  </code></pre>
  
  <p><strong>app.js file (Error in first line)</strong> </p>
  
  <pre><code>angular.module('bucketList', ['ionic', 'firebase', 'bucketList.controllers'])
  </code></pre>