aboutsummaryrefslogtreecommitdiffstats
path: root/example/temp.html
diff options
context:
space:
mode:
authorAndres Ornelas2010-07-27 10:44:46 -0700
committerAndres Ornelas2010-07-27 10:44:46 -0700
commitb42072733c3afd03a49457d88ffed28ebe55655e (patch)
tree2fa2b8703cdc75fe19a204d2c9677e27d33c8176 /example/temp.html
parent2f7c538628929888ce7c99b9577e34f8c87211f7 (diff)
parent8ddee9bb25ade2bbe7d57db6353b29867606c184 (diff)
downloadangular.js-b42072733c3afd03a49457d88ffed28ebe55655e.tar.bz2
Merge branch 'master' of github.com:angular/angular.js into future
Diffstat (limited to 'example/temp.html')
-rw-r--r--example/temp.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/example/temp.html b/example/temp.html
index d07a6948..337f7fba 100644
--- a/example/temp.html
+++ b/example/temp.html
@@ -1,13 +1,10 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
<head>
- <script type="text/javascript" src="../src/angular-bootstrap.js#autobind"></script>
+ <script type="text/javascript"
+ src="../src/angular-bootstrap.js#autobind"></script>
</head>
- <body>
- {{$location.hashSearch.order}} <br/>
- <input type="radio" name="$location.hashSearch.order" value="A"/> A <br/>
- <input type="radio" name="$location.hashSearch.order" checked value="B"/> B <br/>
- <input type="radio" name="$location.hashSearch.order" value="C"/> C <br/>
- {{$location.hashSearch.order}} <br/>
+ <body ng:init="$window.$root = this">
+ Hello {{'World'}}!
</body>
</html>