Update to Angular 1.1.4
This commit is contained in:
parent
72a485d6e8
commit
f5fc1369ad
585 changed files with 48055 additions and 3041 deletions
24
lib/angular/docs/partials/guide/concepts.html
Normal file → Executable file
24
lib/angular/docs/partials/guide/concepts.html
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
|||
<h1><code ng:non-bindable=""></code>
|
||||
<span class="hint"></span>
|
||||
</h1>
|
||||
<div><h2>Overview</h2>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/guide/concepts.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><h2>Overview</h2>
|
||||
|
||||
<p>This document gives a quick overview of the main angular components and how they work together.
|
||||
These are:</p>
|
||||
|
@ -56,7 +56,7 @@ These are:</p>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-17" ng-eval-javascript=""></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-17" ng-eval-javascript=""></div>
|
||||
|
||||
<p><a name="runtime"></a></p>
|
||||
|
||||
|
@ -139,7 +139,7 @@ the JavaScript execution context.</li>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-18" ng-eval-javascript=""></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-18" ng-eval-javascript=""></div>
|
||||
|
||||
<p><a name="scope"></a></p>
|
||||
|
||||
|
@ -196,7 +196,7 @@ a diagram depicting the scope boundaries.</p>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-19" ng-eval-javascript="script.js-20"></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-19" ng-eval-javascript="script.js-20"></div>
|
||||
</div>
|
||||
|
||||
<p><img class="center" src="img/guide/concepts-scope.png"></p>
|
||||
|
@ -254,7 +254,7 @@ and testability.</li>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-22" ng-eval-javascript="script.js-23"></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-22" ng-eval-javascript="script.js-23"></div>
|
||||
|
||||
<p><a name="model"></a></p>
|
||||
|
||||
|
@ -264,7 +264,7 @@ and testability.</li>
|
|||
|
||||
<p>The model is the data which is used merged with the template to produce the view. To be able to
|
||||
render the model into the view, the model has to be able to be referenced from the scope. Unlike many
|
||||
other frameworks Angular makes no restrictions or requirements an the model. There are no classes
|
||||
other frameworks Angular makes no restrictions or requirements on the model. There are no classes
|
||||
to inherit from or special accessor methods for accessing or changing the model. The model can be
|
||||
primitive, object hash, or a full object Type. In short the model is a plain JavaScript object.</p>
|
||||
|
||||
|
@ -277,9 +277,9 @@ primitive, object hash, or a full object Type. In short the model is a plain Jav
|
|||
|
||||
<p><img class="pull-right" style="padding-left: 3em; padding-bottom: 1em;" src="img/guide/concepts-view.png"></p>
|
||||
|
||||
<p>The view is what the users sees. The view begins its life as a template, it is merged with the
|
||||
<p>The view is what the user sees. The view begins its life as a template, is merged with the
|
||||
model and finally rendered into the browser DOM. Angular takes a very different approach to
|
||||
rendering the view, compared to most other templating systems.</p>
|
||||
rendering the view compared to most other templating systems.</p>
|
||||
|
||||
<ul>
|
||||
<li><strong>Others</strong> - Most templating systems begin as an HTML string with special templating markup.
|
||||
|
@ -320,7 +320,7 @@ the single source-of-truth for your view.</li>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-24" ng-eval-javascript=""></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-24" ng-eval-javascript=""></div>
|
||||
|
||||
<p><a name="directives"></a></p>
|
||||
|
||||
|
@ -378,7 +378,7 @@ in HTML.</p>
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="directive" ng-set-html="index.html-26" ng-eval-javascript="script.js-25"></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="directive" ng-set-html="index.html-26" ng-eval-javascript="script.js-25"></div>
|
||||
|
||||
<p><a name="filters"></a></p>
|
||||
|
||||
|
@ -401,7 +401,7 @@ They follow the spirit of UNIX filters and use similar syntax <code>|</code> (pi
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-28" ng-eval-javascript=""></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-28" ng-eval-javascript=""></div>
|
||||
|
||||
<p><a name="module"></a>
|
||||
<a name="injector"></a></p>
|
||||
|
@ -512,7 +512,7 @@ dependencies, look for dependencies, or even get a reference to the injector.</p
|
|||
</script>
|
||||
</div>
|
||||
</div><h3>Demo</h3>
|
||||
<div class="well doc-example-live" ng-embed-app="timeExampleModule" ng-set-html="index.html-29" ng-eval-javascript="script.js-30"></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="timeExampleModule" ng-set-html="index.html-29" ng-eval-javascript="script.js-30"></div>
|
||||
|
||||
<p><a name="angular_namespace"></a></p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue