diff options
| author | Misko Hevery | 2010-07-20 16:55:32 -0700 |
|---|---|---|
| committer | Misko Hevery | 2010-07-20 16:55:32 -0700 |
| commit | bebfbeac0a3f25b3d0df00ada5c919adef9dd701 (patch) | |
| tree | 9d985f8c357dbcbc6f24a8c348c1336d2c32d99c /example/temp.html | |
| parent | 7e96af0fdd9af8c479992363f68578305df0337e (diff) | |
| download | angular.js-bebfbeac0a3f25b3d0df00ada5c919adef9dd701.tar.bz2 | |
fixed xhtml compatibility, fix console in chrome
Diffstat (limited to 'example/temp.html')
| -rw-r--r-- | example/temp.html | 14 |
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> |
