"Fossies" - the Fresh Open Source Software Archive

Member "angular-1.7.9/docs/index-debug.html" (26 Nov 2019, 12816 Bytes) of package /linux/www/angular-1.7.9.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!doctype html>
    2 <html lang="en" ng-app="docsApp" ng-strict-di ng-controller="DocsController">
    3 <head>
    4   <meta name="viewport" content="width=device-width, initial-scale=1.0">
    5   <meta charset="utf-8">
    6   <meta http-equiv="X-UA-Compatible" content="IE=edge">
    7   <meta name="Description"
    8         content="AngularJS is what HTML would have been, had it been designed for building web-apps.
    9                  Declarative templates with data-binding, MVC, dependency injection and great
   10                  testability story all implemented with pure client-side JavaScript!">
   11   <meta name="fragment" content="!">
   12   <title ng-bind-template="AngularJS: {{ currentArea.name }}: {{ currentPage.name || 'Error: Page not found'}}">AngularJS</title>
   13 
   14   <script type="text/javascript">
   15     (function() {
   16       // Dynamically, pre-emptively, add `noindex`, which will be removed when the doc is ready and valid
   17       ['googlebot', 'robots'].forEach(function(bot) {
   18         var tag = document.createElement('meta');
   19         tag.name = bot;
   20         tag.content = 'noindex';
   21         tag.setAttribute('ng-if', 'hasError()');
   22         document.head.appendChild(tag);
   23       });
   24     })();
   25   </script>
   26   <script type="text/javascript">
   27     // dynamically add base tag as well as css and javascript files.
   28     // we can't add css/js the usual way, because some browsers (FF) eagerly prefetch resources
   29     // before the base attribute is added, causing 404 and terribly slow loading of the docs app.
   30     (function() {
   31       var indexFile = (location.pathname.match(/\/(index[^\.]*\.html)/) || ['', ''])[1],
   32           rUrl = /(#!\/|api|guide|misc|tutorial|error|index[^\.]*\.html).*$/,
   33           baseUrl = location.href.replace(rUrl, indexFile),
   34           production = location.hostname === 'docs.angularjs.org',
   35           headEl = document.getElementsByTagName('head')[0],
   36           sync = true;
   37 
   38       addTag('base', {href: baseUrl});
   39 
   40 
   41       addTag('link', {rel: 'stylesheet', href: 'components/bootstrap-3.1.1/css/bootstrap.css', type: 'text/css'});
   42       addTag('link', {rel: 'stylesheet', href: 'css/prettify-theme.css', type: 'text/css'});
   43       addTag('link', {rel: 'stylesheet', href: 'css/angular-topnav.css', type: 'text/css'});
   44       addTag('link', {rel: 'stylesheet', href: 'css/docs.css', type: 'text/css'});
   45       addTag('link', {rel: 'stylesheet', href: 'css/animations.css', type: 'text/css'});
   46       
   47 
   48       addTag('script', {src: '../angular.js' }, sync);
   49       addTag('script', {src: '../angular-resource.js' }, sync);
   50       addTag('script', {src: '../angular-route.js' }, sync);
   51       addTag('script', {src: '../angular-cookies.js' }, sync);
   52       addTag('script', {src: '../angular-sanitize.js' }, sync);
   53       addTag('script', {src: '../angular-touch.js' }, sync);
   54       addTag('script', {src: '../angular-animate.js' }, sync);
   55       addTag('script', {src: 'components/marked-0.3.6/lib/marked.js' }, sync);
   56       addTag('script', {src: 'js/angular-bootstrap/dropdown-toggle.js' }, sync);
   57       addTag('script', {src: 'components/lunr-0.7.2/lunr.js' }, sync);
   58       addTag('script', {src: 'components/google-code-prettify-1.0.1/src/prettify.js' }, sync);
   59       addTag('script', {src: 'components/google-code-prettify-1.0.1/src/lang-css.js' }, sync);
   60       addTag('script', {src: 'js/current-version-data.js' }, sync);
   61       addTag('script', {src: 'js/all-versions-data.js' }, sync);
   62       addTag('script', {src: 'js/pages-data.js' }, sync);
   63       addTag('script', {src: 'js/nav-data.js' }, sync);
   64       addTag('script', {src: 'js/docs.js' }, sync);
   65       
   66 
   67       function addTag(name, attributes, sync) {
   68         var el = document.createElement(name),
   69             attrName;
   70 
   71         for (attrName in attributes) {
   72           el.setAttribute(attrName, attributes[attrName]);
   73         }
   74 
   75         sync ? document.write(outerHTML(el)) : headEl.appendChild(el);
   76       }
   77 
   78       function outerHTML(node){
   79         // if IE, Chrome take the internal method otherwise build one
   80         return node.outerHTML || (
   81             function(n){
   82                 var div = document.createElement('div'), h;
   83                 div.appendChild(n);
   84                 h = div.innerHTML;
   85                 div = null;
   86                 return h;
   87             })(node);
   88       }
   89     })();
   90 
   91     // GA asynchronous tracker
   92     var _gaq = _gaq || [];
   93     _gaq.push(['_setAccount', 'UA-8594346-3']);
   94     _gaq.push(['_setDomainName', '.angularjs.org']);
   95 
   96     (function() {
   97       var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
   98       ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
   99       var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  100     })();
  101   </script>
  102 </head>
  103 <body class="homepage">
  104   <div id="wrapper">
  105     <header class="header">
  106       <nav id="navbar-main" class="navbar navbar-fixed-top">
  107         <div class="navbar-inner" ng-controller="DocsSearchCtrl">
  108           <div class="container">
  109             <h1 class="brand"><a href="http://angularjs.org"><img width="117" height="30" src="img/angularjs-for-header-only.svg" alt="AngularJS"></a></h1>
  110 
  111             <form class="navbar-search" ng-submit="submit()">
  112               <i class="glyphicon glyphicon-search search-icon"></i>
  113               <input type="text" name="as_q" class="search-query" placeholder="SEARCH"
  114                  ng-focus="focus=true"
  115                  ng-blur="focus=false"
  116                  ng-change="search(q)"
  117                  ng-model="q"
  118                  ng-model-options="{debounce: 150}"
  119                  docs-search-input
  120                  autocomplete="off">
  121             </form>
  122 
  123             <ul class="nav navbar-nav">
  124               <li class="dropdown" uib-dropdown>
  125                 <a href="#" class="dropdown-toggle" uib-dropdown-toggle>Learn</a>
  126                 <ul class="dropdown-menu" uib-dropdown-menu>
  127                   <li><a href="tutorial">Tutorial</a></li>
  128                   <li><a href="misc/faq">FAQ</a></li>
  129                   <li><a href="https://www.youtube.com/user/angularjs">Videos</a></li>
  130                   <li><a href="http://angular.codeschool.com/">Free Course</a></li>
  131                   <li><a href="https://www.madewithangular.com/">Case Studies</a></li>
  132                 </ul>
  133               </li>
  134               <li class="dropdown" uib-dropdown>
  135                 <a href="#" class="dropdown-toggle" uib-dropdown-toggle>Develop</a>
  136                 <ul class="dropdown-menu" uib-dropdown-menu>
  137                   <li><a href="guide">Developer Guide</a></li>
  138                   <li><a href="api">API Reference</a></li>
  139                   <li><a href="error">Error Reference</a></li>
  140                   <li><a href="misc/contribute">Contribute</a></li>
  141                   <li><a href="https://github.com/angular/angular-seed">Seed App project template</a></li>
  142                   <li><a href="https://github.com/angular/angular.js">GitHub</a></li>
  143                   <li><a href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md">Changelog</a></li>
  144                   <li><a href="http://code.angularjs.org/">Download</a></li>
  145                 </ul>
  146               </li>
  147               <li class="dropdown" uib-dropdown>
  148                 <a href="#" class="dropdown-toggle" uib-dropdown-toggle>Discuss</a>
  149                 <ul class="dropdown-menu" uib-dropdown-menu>
  150                   <li><a href="http://blog.angularjs.org">Blog</a></li>
  151                   <li><a href="https://twitter.com/angular">Twitter</a></li>
  152                   <li><a href="https://plus.google.com/110323587230527980117">Google+</a></li>
  153                   <li><a href="https://github.com/angular/angular.js/issues">Feature &amp; Bug Tracker</a></li>
  154                   <li><a href="http://groups.google.com/group/angular">Mailing List</a></li>
  155                   <li><a href="http://webchat.freenode.net/?channels=angularjs&uio=d4">IRC</a></li>
  156                   <li><a href="https://gitter.im/angular/angular.js">Gitter</a></li>
  157                 </ul>
  158               </li>
  159             </ul>
  160 
  161           </div>
  162           <div class="search-results-container" ng-show="hasResults" ng-cloak>
  163             <div class="container">
  164               <div class="search-results-frame">
  165                 <div ng-repeat="(key, value) in results track by key" class="search-results-group" ng-class="colClassName + ' col-group-' + key" ng-show="value.length > 0">
  166                   <h4 class="search-results-group-heading">{{ key }}</h4>
  167                   <ul class="search-results">
  168                     <li ng-repeat="item in value" class="search-result"><a ng-click="handleResultClicked($event)" ng-href="{{ item.path }}">{{ item.name }}</a></li>
  169                   </ul>
  170                 </div>
  171               </div>
  172               <a href="" ng-click="hideResults()" class="search-close">
  173                 <span class="glyphicon glyphicon-remove search-close-icon"></span> Close
  174               </a>
  175             </div>
  176           </div>
  177         </div>
  178       </nav>
  179       <nav id="navbar-notice" class="navbar navbar-fixed-top">
  180         <div class="navbar-inner">
  181           <div class="container">
  182             <p class="site-notice visible-phone">
  183               This site refers to AngularJS (v1.x). <a href="https://angular.io/">Go to the latest Angular</a>.
  184             </p>
  185             <p class="site-notice visible-desktop">
  186               This site and all of its contents are referring to AngularJS (version 1.x),
  187               if you are looking for the latest Angular, please visit <a href="https://angular.io/">angular.io</a>.
  188             </p>
  189           </div>
  190         </div>
  191       </nav>
  192       <nav id="navbar-sub" class="sup-header navbar navbar-fixed-top" scroll-y-offset-element ng-cloak>
  193         <div class="container main-grid main-header-grid">
  194           <div class="grid-left">
  195             <version-picker></version-picker>
  196           </div>
  197           <div class="grid-right">
  198             <ul class="nav-breadcrumb">
  199               <li ng-repeat="crumb in breadcrumb" class="nav-breadcrumb-entry naked-list">
  200                 <span class="divider"> /</span>
  201                 <a ng-href="{{crumb.url}}">{{crumb.name}}</a>
  202               </li>
  203             </ul>
  204           </div>
  205         </div>
  206       </nav>
  207     </header>
  208 
  209     <section role="main" class="container main-body" ng-cloak>
  210       <div class="main-grid main-body-grid">
  211         <div class="grid-left">
  212           <a class="btn toc-toggle visible-xs" ng-click="toc=!toc">Show / Hide Table of Contents</a>
  213           <div class="side-navigation" ng-show="toc==true">
  214             <ul class="nav-list naked-list">
  215               <li ng-repeat="navGroup in currentArea.navGroups track by navGroup.name" class="nav-index-group">
  216                 <a href="{{ navGroup.href }}" ng-class="navClass(navGroup)" class="nav-index-group-heading">{{ navGroup.name }}</a>
  217                 <ul class="aside-nav">
  218                   <li ng-repeat="navItem in navGroup.navItems" ng-class="navClass(navItem)" class="nav-index-listing">
  219                     <a ng-if="navItem.extra.href" ng-class="navClass(navItem.extra)" href="{{navItem.extra.href}}">
  220                       {{navItem.extra.text}}<i ng-if="navItem.extra.icon" class="icon-{{navItem.extra.icon}}"></i>
  221                     </a>
  222                     <a tabindex="2" ng-class="linkClass(navItem)" href="{{navItem.href}}">{{navItem.name}}</a>
  223                   </li>
  224                 </ul>
  225               </li>
  226             </ul>
  227             <a href="" ng-click="toc=false" class="toc-close visible-xs">
  228               <span class="glyphicon glyphicon-remove toc-close-icon"></span> Close
  229             </a>
  230           </div>
  231         </div>
  232         <div class="grid-right">
  233           <div ng-show="loading">Loading &hellip;</div>
  234           <div ng-show="loadingError">There was an error loading this resource. Please try again later.</div>
  235           <div ng-hide="loading" ng-include="partialPath" toc-collector autoscroll></div>
  236         </div>
  237       </div>
  238     </section>
  239 
  240     <footer class="footer">
  241       <div class="container">
  242         <p class="pull-right"><a back-to-top>Back to top</a></p>
  243 
  244         <p>
  245           Super-powered by Google ©2010-2018
  246           (<a id="version"
  247                ng-href="https://github.com/angular/angular.js/blob/master/CHANGELOG.md#{{versionNumber}}"
  248                ng-bind-template="v{{version}}" title="Changelog of this version of AngularJS">
  249            </a>)
  250         </p>
  251         <p>
  252           Code licensed under
  253           <a href="https://github.com/angular/angular.js/blob/master/LICENSE" target="_blank">The MIT License</a>.
  254           Documentation licensed under
  255           <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.
  256         </p>
  257       </div>
  258     </footer>
  259   </div>
  260 </body>
  261 </html>