This repository was archived by the owner on Apr 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 733
Expand file tree
/
Copy pathangular.scope.html
More file actions
23 lines (20 loc) · 1.44 KB
/
Copy pathangular.scope.html
File metadata and controls
23 lines (20 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<h1>angular.scope</h1>
<div class="angular-scope"><fieldset class="workInProgress"><legend>Work in Progress</legend>
This page is currently being revised. It might be incomplete or contain inaccuracies.</fieldset>
<p>Scope is a JavaScript object and the execution context for expressions. You can think about
scopes as JavaScript objects that have extra APIs for registering watchers. A scope is the
context in which model (from the model-view-controller design pattern) exists.</p>
<p>Angular scope objects provide the following methods:</p>
<ul>
<li><a href="#!/api/angular.scope.$become"><code>$become()</code></a> -</li>
<li><a href="#!/api/angular.scope.$bind"><code>$bind()</code></a> -</li>
<li><a href="#!/api/angular.scope.$eval"><code>$eval()</code></a> -</li>
<li><a href="#!/api/angular.scope.$get"><code>$get()</code></a> -</li>
<li><a href="#!/api/angular.scope.$new"><code>$new()</code></a> -</li>
<li><a href="#!/api/angular.scope.$onEval"><code>$onEval()</code></a> -</li>
<li><a href="#!/api/angular.scope.$service"><code>$service()</code></a> -</li>
<li><a href="#!/api/angular.scope.$set"><code>$set()</code></a> -</li>
<li><a href="#!/api/angular.scope.$tryEval"><code>$tryEval()</code></a> -</li>
<li><a href="#!/api/angular.scope.$watch"><code>$watch()</code></a> -</li>
</ul>
<p>For more information about how angular scope objects work, see <a href="#!/guide/dev_guide.scopes">Angular Scope Objects</a> in the angular Developer Guide.</p></div>