aboutsummaryrefslogtreecommitdiffstats
path: root/docs/guide.bootstrap.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guide.bootstrap.ngdoc')
-rw-r--r--docs/guide.bootstrap.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide.bootstrap.ngdoc b/docs/guide.bootstrap.ngdoc
index 835fe494..fd35b641 100644
--- a/docs/guide.bootstrap.ngdoc
+++ b/docs/guide.bootstrap.ngdoc
@@ -50,7 +50,7 @@ equivalent to the code in the previous section.
(function(window, previousOnLoad){
window.onload = function(){
try { (previousOnLoad||angular.noop)(); } catch(e) {}
- angular.compile(window.document).$init();
+ angular.compile(window.document)();
};
})(window, window.onload);
</script>