File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -506,6 +506,8 @@ that you explicitly pass in.
506
506
507
507
<div class="alert alert-warning">
508
508
**Note:** Normally, a scope prototypically inherits from its parent. An isolated scope does not.
509
+ See the {@link guide/directive#creating-custom-directives_demo_isolating-the-scope-of-a-directive
510
+ "Isolating the Scope of a Directive"} section for more information about isolate scopes.
509
511
</div>
510
512
511
513
<div class="alert alert-success">
Original file line number Diff line number Diff line change @@ -18,8 +18,12 @@ watch {@link guide/expression expressions} and propagate events.
18
18
propagate any model changes through the system into the view from outside of the "Angular
19
19
realm" (controllers, services, Angular event handlers).
20
20
21
- - Scopes can be nested to isolate application components while providing access to shared model
22
- properties. A scope (prototypically) inherits properties from its parent scope.
21
+ - Scopes can be nested to limit access to the properties of application components while providing
22
+ access to shared model properties. Nested scopes are either "child scopes" or "isolate scopes".
23
+ A "child scope" (prototypically) inherits properties from its parent scope. An "isolate scope"
24
+ does not. See {@link
25
+ guide/directive#creating-custom-directives_demo_isolating-the-scope-of-a-directive isolated
26
+ scopes} for more information.
23
27
24
28
- Scopes provide context against which {@link guide/expression expressions} are evaluated. For
25
29
example `{{username}}` expression is meaningless, unless it is evaluated against a specific
@@ -306,6 +310,8 @@ api/ng.directive:ngController ng-controller} and {@link
306
310
api/ng.directive:ngRepeat ng-repeat}, create new child scopes
307
311
and attach the child scope to the corresponding DOM element. You can retrieve a scope for any DOM
308
312
element by using an `angular.element(aDomElement).scope()` method call.
313
+ See the {@link guide/directive#creating-custom-directives_demo_isolating-the-scope-of-a-directive
314
+ directives guide} for more information about isolate scopes.
309
315
310
316
### Controllers and Scopes
311
317
You can’t perform that action at this time.
0 commit comments