Update to Angular 1.1.4

This commit is contained in:
Colin Frei 2013-04-07 11:37:21 +02:00
parent 72a485d6e8
commit f5fc1369ad
585 changed files with 48055 additions and 3041 deletions

19
lib/angular/docs/partials/api/ng.$parse.html Normal file → Executable file
View file

@ -2,7 +2,7 @@
<span class="hint">(service 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/parse.js" class="improve-docs btn btn-primary">Improve this doc</a><h2 id="Description">Description</h2>
<div class="description"><p>Converts Angular <a href="guide/expression">expression</a> into a function.</p>
<pre class="prettyprint linenums">
@ -27,12 +27,19 @@
<p>a function which represents the compiled expression:</p>
<ul>
<li><code>context</code>: an object against which any expressions embedded in the strings are evaluated
against (Topically a scope object).</li>
<li><p><code>locals</code>: local variables context object, useful for overriding values in <code>context</code>.</p>
<li><code>context</code> <code>{object}</code> an object against which any expressions embedded in the strings
are evaluated against (typically a scope object).</li>
<li><p><code>locals</code> <code>{object=}</code> local variables context object, useful for overriding values in
<code>context</code>.</p>
<p>The return function also has an <code>assign</code> property, if the expression is assignable, which
allows one to set values to expressions.</p></li>
<p>The returned function also has the following properties:</p>
<ul><li><code>literal</code> <code>{boolean}</code> whether the expression's top-level node is a JavaScript
literal.</li>
<li><code>constant</code> <code>{boolean}</code> whether the expression is made entirely of JavaScript
constant literals.</li>
<li><code>assign</code> <code>{?function(context, value)}</code> if the expression is assignable, this will be
set to a function to change its value on the given context.</li></ul></li>
</ul></div>
</div>
</div>