mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 08:00:23 +00:00
- index.html has manifest file and angular.min.js - index-jq.html has manifest file, angular.min.js and jquery.min.js - index-debug.html has angular.js - index-jq-debug.html has angular.js and jquery.min.js
110 lines
4.5 KiB
HTML
110 lines
4.5 KiB
HTML
<!doctype html>
|
|
<html xmlns:ng="http://angularjs.org/"
|
|
xmlns:doc="http://docs.angularjs.org/"
|
|
ng:controller="DocsController"
|
|
doc:manifest>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title ng:bind-template="AngularJS: {{partialTitle}}">AngularJS</title>
|
|
<meta name="fragment" content="!">
|
|
<link rel="stylesheet" href="docs-combined.css" type="text/css"/>
|
|
<link rel="stylesheet" href="syntaxhighlighter/syntaxhighlighter-combined.css" type="text/css"/>
|
|
|
|
<script>
|
|
// GA asynchronous tracker
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-8594346-3']);
|
|
_gaq.push(['_setDomainName', '.angularjs.org']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
|
|
// force page reload when new update is available
|
|
window.applicationCache && window.applicationCache.addEventListener('updateready', function(e) {
|
|
if (window.applicationCache.status == window.applicationCache.UPDATEREADY) {
|
|
window.applicationCache.swapCache();
|
|
window.location.reload();
|
|
}
|
|
}, false);
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="container">
|
|
|
|
<!--[if lt IE 9]>
|
|
<div id="oldIePrompt">
|
|
You are using an old version of Internet Explorer.
|
|
For better and safer browsing experience please <a href="http://www.microsoft.com/IE9">upgrade IE</a>
|
|
or install <a href="http://google.com/chrome">Google Chrome browser</a>.
|
|
</div>
|
|
<![endif]-->
|
|
|
|
<ul id="navbar">
|
|
<li><a href="http://angularjs.org/">AngularJS</a></li>
|
|
<li><a href="#!/misc/started" ng:class="selectedSection('misc')">Getting Started</a></li>
|
|
<li><a href="#!/tutorial" ng:class="selectedSection('tutorial')">Tutorial</a></li>
|
|
<li><a href="#!/api" ng:class="selectedSection('api')">API Reference</a></li>
|
|
<li><a href="#!/cookbook" ng:class="selectedSection('cookbook')">Examples</a></li>
|
|
<li><a href="#!/guide" ng:class="selectedSection('guide')">Developer Guide</a></li>
|
|
</ul>
|
|
|
|
<div id="sidebar">
|
|
<input type="text" name="search" id="search-box" placeholder="search the docs"
|
|
tabindex="1" accesskey="s">
|
|
|
|
<ul id="content-list" ng:class="sectionId" ng:cloak>
|
|
<li ng:repeat="page in pages.$filter(search)" ng:class="getClass(page)">
|
|
<a href="{{getUrl(page)}}" ng:class="selectedPartial(page)"
|
|
ng:bind="page.shortName"
|
|
tabindex="2"></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<div id="content-panel">
|
|
<h2 ng:bind="partialTitle"></h2>
|
|
<a id="feedback" ng:href="{{getFeedbackUrl()}}">Report an Issue or Ask a Question</a>
|
|
<ng:include id="content" src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include>
|
|
</div>
|
|
|
|
<div id="footer" ng:cloak>
|
|
<a id="version"
|
|
ng:href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
|
|
ng:bind-template="v{{version}}">
|
|
</a>
|
|
<a ng:hide="offlineEnabled" ng:click ="subpage = true">(enable offline support)</a>
|
|
<span ng:show="offlineEnabled">(offline support enabled)</span>
|
|
<span id="copyright">© 2010-2011 AngularJS</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="fader" ng:show="subpage" style="display: none"></div>
|
|
<div id="subpage" ng:show="subpage" style="display: none">
|
|
<div>
|
|
<h2>Would you like full offline support for this AngularJS Docs App?</h2>
|
|
<a ng:click="subpage=false">✕</a>
|
|
<p>
|
|
If you want to be able to access the entire AngularJS documentation offline, click the
|
|
button below. This will reload the current page and trigger background downloads of all the
|
|
necessary files (approximately 3.5MB). The next time you load the docs, the browser will
|
|
use these cached files.
|
|
<br><br>
|
|
This feature is supported on all modern browsers, except for IE9 which lacks application
|
|
cache support.
|
|
</p>
|
|
<button id="cacheButton" ng:click="enableOffline()">Let me have them all!</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="syntaxhighlighter/syntaxhighlighter-combined.js"></script>
|
|
<!-- jquery place holder -->
|
|
<!-- angular script place holder -->
|
|
<script src="docs-combined.js"></script>
|
|
<script src="docs-keywords.js"></script>
|
|
</body>
|
|
</html>
|