aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMisko Hevery2010-05-13 12:03:10 -0700
committerMisko Hevery2010-05-13 12:03:10 -0700
commit4b9b9e98300b9554faf0c960674eb75750227404 (patch)
tree9ed8ef7e8b499178dcce5e0133546c7dbea3dd3f /example
parent271b535c8285cb90781bf1e8ee56d6e68210a6a9 (diff)
downloadangular.js-4b9b9e98300b9554faf0c960674eb75750227404.tar.bz2
fix incorect parsing of url if it contains dash - character
Diffstat (limited to 'example')
-rw-r--r--example/temp.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/temp.html b/example/temp.html
index d6414417..31ef7aa6 100644
--- a/example/temp.html
+++ b/example/temp.html
@@ -4,6 +4,9 @@
<script type="text/javascript" src="../src/angular-bootstrap.js#autobind"></script>
</head>
<body>
- <a href="#" ng-click="$window.location.hash='123'"> {{'first'}}<br/>{{'second'}}</a>
+ {{$location.hashSearch.order}} <br/>
+ <input type="radio" name="$location.hashSearch.order" value="Report"/> Report <br/>
+ <input type="radio" name="$location.hashSearch.order" value="Problem"/> Problem <br/>
+ {{$location.hashSearch.order}} <br/>
</body>
</html>