mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
19 lines
902 B
HTML
19 lines
902 B
HTML
<!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">
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="style.css"/>
|
|
<script type="text/javascript" src="../src/angular-bootstrap.js#autobind"></script>
|
|
</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/>
|
|
hashPath: <input type="text" name="$location.hashPath" size="120"/> <br/>
|
|
hashSearch: <input type="text" name="$location.hashSearch" size="120" ng:format="json"/> <br/>
|
|
</body>
|
|
</html>
|