aboutsummaryrefslogtreecommitdiffstats
path: root/scenario/location.html
diff options
context:
space:
mode:
authorMisko Hevery2010-07-30 10:56:36 -0700
committerMisko Hevery2010-07-30 10:56:36 -0700
commitcdda664f8990351453baa26fc3dcd53329e72e68 (patch)
tree77cb533770c67d2a032a259bd093c3fa3a16899d /scenario/location.html
parentaf1eb6914e6e4b72e6baabb075138b7716184ff7 (diff)
downloadangular.js-cdda664f8990351453baa26fc3dcd53329e72e68.tar.bz2
fix up the $location encoding
Diffstat (limited to 'scenario/location.html')
-rw-r--r--scenario/location.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/scenario/location.html b/scenario/location.html
index a162636b..75041615 100644
--- a/scenario/location.html
+++ b/scenario/location.html
@@ -6,6 +6,10 @@
</head>
<body ng:init="$window.$scope = this">
<pre>$location={{$location}}</pre>
+ Hash Search:
+ <ul>
+ <li ng:repeat="(key, value) in $location.hashSearch"><tt>{{key}}={{value}}</tt></li>
+ </ul>
<hr/>
href: <input type="text" name="$location.href" size="120"/> <br/>
hash: <input type="text" name="$location.hash" size="120"/> <br/>