diff options
| author | Misko Hevery | 2010-07-30 10:56:36 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-07-30 10:56:36 -0700 | 
| commit | cdda664f8990351453baa26fc3dcd53329e72e68 (patch) | |
| tree | 77cb533770c67d2a032a259bd093c3fa3a16899d /scenario/location.html | |
| parent | af1eb6914e6e4b72e6baabb075138b7716184ff7 (diff) | |
| download | angular.js-cdda664f8990351453baa26fc3dcd53329e72e68.tar.bz2 | |
fix up the $location encoding
Diffstat (limited to 'scenario/location.html')
| -rw-r--r-- | scenario/location.html | 4 | 
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/>  | 
