File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
modules/angular2/src/core/annotations_impl Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -108,8 +108,9 @@ export class Parent extends Visibility {
108108 * Specifies that an injector should retrieve a dependency from any ancestor element within the same
109109 * shadow boundary.
110110 *
111- * An ancestor is any element between the parent element and shadow root.
111+ * An ancestor is any element between the parent element and the shadow root.
112112 *
113+ * Use {@link Unbounded} if you need to cross upper shadow boundaries.
113114 *
114115 * ## Example
115116 *
@@ -166,10 +167,10 @@ export class Ancestor extends Visibility {
166167}
167168
168169/**
169- * Specifies that an injector should retrieve a dependency from any ancestor element.
170- *
171- * An ancestor is any element between the parent element and shadow root.
170+ * Specifies that an injector should retrieve a dependency from any ancestor element, crossing
171+ * component boundaries.
172172 *
173+ * Use {@link Ancestor} to look for ancestors within the current shadow boundary only.
173174 *
174175 * ## Example
175176 *
You can’t perform that action at this time.
0 commit comments