EDIT: This only happens with IE (tested on IE10)
I have a app that loads fine initially, however, when refreshed it gives this error:
SCRIPT5022: No module: myAppModule
myAppModule is an angular module defined in app.js which is loaded after loading angular.js
angular.module('myAppModule', []);
and is auto-bootstrapped via:
<html ng-app="myAppModule">
The scripts are loaded as follows (no AMD loader):
<script>window.jQuery ||
document.write('<script src="js/vendor/jquery-1.8.0.min.js"></script>')</script>
<script>window.angular ||
document.write('<script src="js/vendor/angular-1.0.2.min.js"></script>')</script>
<script src="js/app.js"></script>
<script src="js/controller.js"></script>
I reckon that angularjs is getting loaded first and auto-bootstrapping the application, but app.js has not been loaded yet