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

8
lib/angular/docs/partials/guide/scope.html Normal file → Executable file
View file

@ -1,7 +1,7 @@
<h1><code ng:non-bindable=""></code>
<span class="hint"></span>
</h1>
<div><h2>What are Scopes?</h2>
<div><a href="http://github.com/angular/angular.js/edit/master/docs/content/guide/scope.ngdoc" class="improve-docs btn btn-primary">Improve this doc</a><h2>What are Scopes?</h2>
<p><a href="api/ng.$rootScope.Scope"><code>scope</code></a> is an object that refers to the application
model. It is an execution context for <a href="guide/expression">expressions</a>. Scopes are
@ -62,7 +62,7 @@ the applications.</p>
</script>
</div>
</div><h3>Demo</h3>
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-76" ng-eval-javascript="script.js-75"></div>
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-76" ng-eval-javascript="script.js-75"></div>
<p>In the above example notice that the <code>MyController</code> assigns <code>World</code> to the <code>username</code> property of
the scope. The scope then notifies the <code>input</code> of the assignment, which then renders the input
@ -164,7 +164,7 @@ inheritance, and child scopes prototypically inherit from their parents.</p>
</script>
</div>
</div><h3>Demo</h3>
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-79" ng-eval-javascript="script.js-78"></div>
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-79" ng-eval-javascript="script.js-78"></div>
<p>Notice that Angular automatically places <code>ng-scope</code> class on elements where scopes are
attached. The <code>&lt;style&gt;</code> definition in this example highlights in red the new scope locations. The
@ -231,7 +231,7 @@ variable.</p></li>
</script>
</div>
</div><h3>Demo</h3>
<div class="well doc-example-live" ng-embed-app="" ng-set-html="index.html-81" ng-eval-javascript="script.js-80"></div>
<div class="well doc-example-live animator-container" ng-embed-app="" ng-set-html="index.html-81" ng-eval-javascript="script.js-80"></div>
<h3>Scope Life Cycle</h3>