title: ReferenceError: Angular is not defined
body: <p>I've been sitting with this problem for a few hours and found a few answers, none of which have worked for me so far (<a href="https://stackoverflow.com/questions/14260399/angularjs-referenceerror-angular-is-not-defined">AngularJs ReferenceError: angular is not defined</a>). For some reason I can't seem to get my app to use Angular.JS. After adding the required js-files, my main file looks like this:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;html ng-app="AppName"&gt;
    &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
  
      &lt;link rel="stylesheet" href="/stylesheets/main.css"&gt;
  
    &lt;/head&gt;
    &lt;body&gt;
      &lt;!-- Wrapper--&gt;
      &lt;div id="wrapper"&gt;
  
        &lt;div id="page-content-wrapper"&gt;
  
          &lt;div class="page-content inset" ng-view&gt;
          &lt;/div&gt;
  
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- /WRAPPER--&gt;
  
      &lt;!-- ANGULAR CUSTOM --&gt;
      &lt;script src="libs/angular/angular.js"&gt;&lt;/script&gt;
      &lt;script src="libs/angular-route/angular-route.min.js"&gt;&lt;/script&gt;
      &lt;script src="javascripts/AngularApp.js"&gt;&lt;/script&gt;
      &lt;script src="javascripts/appRoutes.js"&gt;&lt;/script&gt;
      &lt;script src="javascripts/controllers/MainCtrl.js"&gt;&lt;/script&gt;
      &lt;script src="javascripts/controllers/SettingsCtrl.js"&gt;&lt;/script&gt;
      &lt;script src="javascripts/services/SettingsService.js"&gt;&lt;/script&gt;
  
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I run the app it never seems to finish loading (see the image: <a href="https://imgur.com/FIAH4tH" rel="nofollow noreferrer">http://imgur.com/FIAH4tH</a>) and then crashes. In Firefox, I get the following error: <a href="https://imgur.com/UT3g7wY" rel="nofollow noreferrer">http://imgur.com/UT3g7wY</a></p>
  
  <p>Does anyone know how I can solve this problem?</p>
  
  <p>--EDIT--
  I've updated the position of the scripts in the app.</p>
  
  <p>My AngularApp.js file looks like this:</p>
  
  <pre><code>angular.module('AppName', ['ngRoute', 'appRoutes', 'MainCtrl', 'SettingsCtrl', 'SettingsService']);
  </code></pre>