aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular-bootstrap.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/angular-bootstrap.js')
-rw-r--r--src/angular-bootstrap.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/angular-bootstrap.js b/src/angular-bootstrap.js
index b1140ec9..78f1e3c1 100644
--- a/src/angular-bootstrap.js
+++ b/src/angular-bootstrap.js
@@ -150,10 +150,12 @@
// empty the cache to prevent mem leaks
globalVars = {};
- //angular-ie-compat.js needs to be pregenerated for development with IE<8
- if (msie<8) addScript('../angular-ie-compat.js');
+ var config = angularJsConfig(document);
- angularInit(angularJsConfig(document), document);
+ // angular-ie-compat.js needs to be pregenerated for development with IE<8
+ config.ie_compat = serverPath + '../build/angular-ie-compat.js';
+
+ angularInit(config, document);
}
if (window.addEventListener){