From 31a3a19dacdb2bb143eb41bc94d58efe9960992c Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Tue, 2 Jun 2015 19:17:12 +0200 Subject: [PATCH] doc(Visibility): fix inline docs --- modules/angular2/src/core/annotations_impl/visibility.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/angular2/src/core/annotations_impl/visibility.ts b/modules/angular2/src/core/annotations_impl/visibility.ts index c6912414e8..324f27edf1 100644 --- a/modules/angular2/src/core/annotations_impl/visibility.ts +++ b/modules/angular2/src/core/annotations_impl/visibility.ts @@ -108,8 +108,9 @@ export class Parent extends Visibility { * Specifies that an injector should retrieve a dependency from any ancestor element within the same * shadow boundary. * - * An ancestor is any element between the parent element and shadow root. + * An ancestor is any element between the parent element and the shadow root. * + * Use {@link Unbounded} if you need to cross upper shadow boundaries. * * ## Example * @@ -166,10 +167,10 @@ export class Ancestor extends Visibility { } /** - * Specifies that an injector should retrieve a dependency from any ancestor element. - * - * An ancestor is any element between the parent element and shadow root. + * Specifies that an injector should retrieve a dependency from any ancestor element, crossing + * component boundaries. * + * Use {@link Ancestor} to look for ancestors within the current shadow boundary only. * * ## Example *