mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
35 lines
No EOL
1.2 KiB
HTML
35 lines
No EOL
1.2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html xmlns:ng="http://angularjs.org" wiki:ng="http://angularjs.org">
|
|
<head>
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
|
|
<script type="text/javascript" src="docs-data.js"></script>
|
|
<script type="text/javascript" src="../angular.min.js" ng:autobind></script>
|
|
<script type="text/javascript" src="wiki_widgets.js"></script>
|
|
<link rel="stylesheet" href="wiki_widgets.css" type="text/css" media="screen" />
|
|
<script type="text/javascript">
|
|
function DocsController() {
|
|
this.docs = NG_DOC;
|
|
window.$root = this.$root;
|
|
|
|
this.getUrl = function(page){
|
|
return '#' + encodeURIComponent(page.name);
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body ng:controller="DocsController">
|
|
<table>
|
|
<tr>
|
|
<td valign="top">
|
|
<div ng:repeat="(name, type) in docs.section">
|
|
<b>{{name}}</b>
|
|
<div ng:repeat="page in type">
|
|
<a href="{{getUrl(page)}}"><tt>{{page.shortName}}</tt></a>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td valign="top"><ng:include src=" './' + $location.hashPath + '.html' "></ng:include></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |