aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/temp.html14
1 files changed, 2 insertions, 12 deletions
diff --git a/example/temp.html b/example/temp.html
index 838a463d..337f7fba 100644
--- a/example/temp.html
+++ b/example/temp.html
@@ -2,19 +2,9 @@
<html>
<head>
<script type="text/javascript"
- src="http://angularjs.org/ng/js/angular-debug.js"></script>
- <script type="text/javascript">
- (function(window, previousOnLoad){
- window.onload = function(){
- try {
- (previousOnLoad||angular.noop)();
- } catch(e) {}
- angular.compile(window.document).$init();
- };
- })(window, window.onload);
- </script>
+ src="../src/angular-bootstrap.js#autobind"></script>
</head>
- <body>
+ <body ng:init="$window.$root = this">
Hello {{'World'}}!
</body>
</html>