Update to Angular 1.1.4
This commit is contained in:
parent
72a485d6e8
commit
f5fc1369ad
585 changed files with 48055 additions and 3041 deletions
6
lib/angular/docs/partials/api/ng.directive:ngBind.html
Normal file → Executable file
6
lib/angular/docs/partials/api/ng.directive:ngBind.html
Normal file → Executable file
|
@ -2,7 +2,7 @@
|
|||
<span class="hint">(directive in module <code ng:non-bindable="">ng</code>
|
||||
)</span>
|
||||
</h1>
|
||||
<div><h2 id="Description">Description</h2>
|
||||
<div><a href="http://github.com/angular/angular.js/edit/master/src/ng/directive/ngBind.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
|
||||
<div class="description"><p>The <code>ngBind</code> attribute tells Angular to replace the text content of the specified HTML element
|
||||
with the value of a given expression, and to update the text content when the value of that
|
||||
expression changes.</p>
|
||||
|
@ -10,7 +10,7 @@ expression changes.</p>
|
|||
<p>Typically, you don't use <code>ngBind</code> directly, but instead you use the double curly markup like
|
||||
<code>{{ expression }}</code> which is similar but less verbose.</p>
|
||||
|
||||
<p>Once scenario in which the use of <code>ngBind</code> is prefered over <code>{{ expression }}</code> binding is when
|
||||
<p>Once scenario in which the use of <code>ngBind</code> is preferred over <code>{{ expression }}</code> binding is when
|
||||
it's desirable to put bindings into template that is momentarily displayed by the browser in its
|
||||
raw state before Angular compiles it. Since <code>ngBind</code> is an element attribute, it makes the
|
||||
bindings invisible to the user while the page is loading.</p>
|
||||
|
@ -62,5 +62,5 @@ as class<pre class="prettyprint linenums"><ANY class="ng-bind: {expression};"
|
|||
</script>
|
||||
</div>
|
||||
</div><h4>Demo</h4>
|
||||
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-104" ng-eval-javascript="script.js-103"></div></div>
|
||||
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-104" ng-eval-javascript="script.js-103"></div></div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue