2010-11-29 19:13:08 +00:00
|
|
|
<!doctype html>
|
|
|
|
|
<html xmlns:ng="http://angularjs.org/"
|
|
|
|
|
xmlns:doc="http://docs.angularjs.org/"
|
|
|
|
|
ng:controller="DocsController">
|
2010-10-27 22:31:10 +00:00
|
|
|
<head>
|
2011-05-11 00:01:01 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2011-02-01 18:01:02 +00:00
|
|
|
<title ng:bind-template="<angular/>: {{partialTitle}}"><angular/></title>
|
2010-11-15 18:02:22 +00:00
|
|
|
<meta name="fragment" content="!">
|
2011-05-10 18:16:00 +00:00
|
|
|
<link rel="stylesheet" href="docs-combined.css" type="text/css"/>
|
|
|
|
|
<link rel="stylesheet" href="syntaxhighlighter/syntaxhighlighter-combined.css" type="text/css"/>
|
2011-04-29 22:18:27 +00:00
|
|
|
<script>
|
2011-05-25 12:00:12 +00:00
|
|
|
// GA asynchronous tracker
|
|
|
|
|
var _gaq = _gaq || [];
|
|
|
|
|
_gaq.push(['_setAccount', 'UA-8594346-3']);
|
|
|
|
|
|
2011-04-29 22:18:27 +00:00
|
|
|
/*!
|
|
|
|
|
* $script.js v1.3
|
|
|
|
|
* https://github.com/ded/script.js
|
|
|
|
|
* Copyright: @ded & @fat - Dustin Diaz, Jacob Thornton 2011
|
|
|
|
|
* Follow our software http://twitter.com/dedfat
|
|
|
|
|
* License: MIT
|
|
|
|
|
*/
|
|
|
|
|
!function(a,b,c){function w(a,c){var e=b.createElement("script"),f=0;e.onload=e[r]=function(){e[p]&&!!h.test(e[p])||f||(e.onload=e[r]=null,f=1,c())},e.async=1,e.src=a,d.parentNode.insertBefore(e,d)}function t(a,b){s(a,function(a){return!b(a)})}var d=b.getElementsByTagName("script")[0],e={},f={},g={},h=/^i|c/,i={},k="string",l=!1,m,n="push",o="DOMContentLoaded",p="readyState",q="addEventListener",r="onreadystatechange",s=function(a,b){for(m=0,j=a.length;m<j;++m)if(!b(a[m]))return 0;return 1};!b[p]&&b[q]&&(b[q](o,function u(){b.removeEventListener(o,u,l),b[p]="complete"},l),b[p]="loading");var v=function(a,b,d){function o(){if(!--l){e[k]=1,j&&j();for(var a in g)s(a.split("|"),m)&&!t(g[a],m)&&(g[a]=[])}}function m(a){return a.call?a():e[a]}a=a[n]?a:[a];var h=b&&b.call,j=h?b:d,k=h?a.join(""):b,l=a.length;c(function(){t(a,function(a){i[a]?(k&&(f[k]=1),o()):(i[a]=1,k&&(f[k]=1),w(v.path?v.path+a+".js":a,o))})},0);return v};v.get=w,v.ready=function(a,b,c){a=a[n]?a:[a];var d=[];!t(a,function(a){e[a]||d[n](a)})&&s(a,function(a){return e[a]})?b():!function(a){g[a]=g[a]||[],g[a][n](b),c&&c(d)}(a.join("|"));return v};var x=a.$script;v.noConflict=function(){a.$script=x;return this},typeof module!="undefined"&&module.exports?module.exports=v:a.$script=v}(this,document,setTimeout)
|
|
|
|
|
$script([
|
|
|
|
|
'jquery.min.js',
|
2011-05-10 18:16:00 +00:00
|
|
|
'syntaxhighlighter/syntaxhighlighter-combined.js'], function(){
|
2011-04-29 22:18:27 +00:00
|
|
|
$script([
|
|
|
|
|
'../angular.min.js'], function(){
|
|
|
|
|
$script([
|
2011-05-10 18:16:00 +00:00
|
|
|
'docs-combined.js',
|
2011-04-29 22:18:27 +00:00
|
|
|
'docs-keywords.js'], function(){
|
|
|
|
|
angular.compile(document)();
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
</script>
|
2010-10-27 22:31:10 +00:00
|
|
|
</head>
|
2011-05-11 00:01:01 +00:00
|
|
|
|
|
|
|
|
<body class="twoCol" style="display:none;" ng:show="true">
|
|
|
|
|
<!--[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]-->
|
|
|
|
|
<div class="twoCol" id="container">
|
|
|
|
|
<div id="navigationHome">
|
|
|
|
|
<div id="navContainer">
|
|
|
|
|
<ul class="navContainerStyle">
|
|
|
|
|
<li><a href="http://angularjs.org/"><angular/></a></li>
|
|
|
|
|
<li><a href="#!guide" ng:class="selectedSection('guide')">Developer Guide</a></li>
|
|
|
|
|
<li><a href="#!api" ng:class="selectedSection('api')">API Reference</a></li>
|
2011-05-11 08:20:35 +00:00
|
|
|
<li><a href="#!cookbook" ng:class="selectedSection('cookbook')">Examples</a></li>
|
|
|
|
|
<li><a href="#!intro/started" ng:class="selectedSection('intro')">Getting Started</a></li>
|
|
|
|
|
<li><a href="#!tutorial" ng:class="selectedSection('tutorial')">Tutorial</a></li>
|
2011-05-11 00:01:01 +00:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
2010-11-10 18:09:48 +00:00
|
|
|
</div>
|
2010-11-29 21:23:30 +00:00
|
|
|
<div id="sidebar">
|
2011-05-11 00:01:01 +00:00
|
|
|
<div id="sidebarTop">
|
|
|
|
|
<input type="text" name="search" id="search-box" placeholder="search the docs"
|
|
|
|
|
tabindex="1" accesskey="s" size="35"/>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="sidebarArea">
|
|
|
|
|
<div id="sideBarContent1">
|
|
|
|
|
<ul id="api-list">
|
|
|
|
|
<li ng:repeat="page in pages.$filter(search)" ng:class="getClass(page)">
|
|
|
|
|
<a href="{{getUrl(page)}}" ng:class="selectedPartial(page)" tabindex="2">{{page.shortName}}</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2010-11-29 21:23:30 +00:00
|
|
|
</div>
|
2011-05-11 00:01:01 +00:00
|
|
|
|
|
|
|
|
<div id="textbox">
|
|
|
|
|
<div id="textboxTop">
|
|
|
|
|
<div class=textboxContentHeader>
|
|
|
|
|
{{partialTitle}}
|
|
|
|
|
<a id="feedback" ng:href="{{getFeedbackUrl()}}">Report an Issue or Ask a Question</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="devguide_header"></div>
|
|
|
|
|
<div id="textbox_content">
|
|
|
|
|
<ng:include src="getCurrentPartial()" onload="afterPartialLoaded()"></ng:include>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<br class="clearFloat" />
|
|
|
|
|
<div id="twoColFooter">© 2010-2011 angular</div>
|
2010-11-10 18:09:48 +00:00
|
|
|
</div>
|
2011-05-25 12:00:12 +00:00
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
// lazy load GA asynchronous tracker
|
|
|
|
|
(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);
|
|
|
|
|
})();
|
|
|
|
|
</script>
|
2010-10-27 22:31:10 +00:00
|
|
|
</body>
|
2010-11-10 18:09:48 +00:00
|
|
|
</html>
|