aboutsummaryrefslogtreecommitdiffstats
path: root/src/angular.suffix
diff options
context:
space:
mode:
authorMisko Hevery2010-04-07 10:17:15 -0700
committerMisko Hevery2010-04-07 10:17:15 -0700
commit0df93fd49c1687b2eddaa79faa1c0adbef82bf72 (patch)
treeb3aaa90b4f4a593dfd71bddd72edc63fd50bca09 /src/angular.suffix
parente6460685869e16b5016de975fd0ba15a7e436951 (diff)
downloadangular.js-0df93fd49c1687b2eddaa79faa1c0adbef82bf72.tar.bz2
clean up, fixes for app
Diffstat (limited to 'src/angular.suffix')
-rw-r--r--src/angular.suffix8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/angular.suffix b/src/angular.suffix
index c5754df2..36d73df2 100644
--- a/src/angular.suffix
+++ b/src/angular.suffix
@@ -1 +1,9 @@
+
+ window.onload = function(){
+ try {
+ if (previousOnLoad) previousOnLoad();
+ } catch(e) {}
+ angularInit(parseKeyValue(angularJsConfig(document)));
+ };
+
})(window, document, window.onload);