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.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/angular-bootstrap.js b/src/angular-bootstrap.js
index 7a1752d2..fb2acbeb 100644
--- a/src/angular-bootstrap.js
+++ b/src/angular-bootstrap.js
@@ -99,9 +99,7 @@
// empty the cache to prevent mem leaks
globalVars = {};
- var config = angularJsConfig(document);
-
- angularInit(config, document);
+ angularInit({autobind:true}, document);
}
if (window.addEventListener) {