From 7f3242affb26888b44ca5c8ca39fa7b8742186ef Mon Sep 17 00:00:00 2001 From: paulmojicatech Date: Fri, 8 Jun 2018 01:06:44 -0400 Subject: [PATCH] docs: fix documention for attributes directive (#24367) fix:update documentation for attributes directive to fix error PR Close #24367 --- aio/content/guide/attribute-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/attribute-directives.md b/aio/content/guide/attribute-directives.md index f3ab4d5e54..6f5287627a 100644 --- a/aio/content/guide/attribute-directives.md +++ b/aio/content/guide/attribute-directives.md @@ -96,7 +96,7 @@ Now edit the generated `src/app/highlight.directive.ts` to look as follows: The `import` statement specifies an additional `ElementRef` symbol from the Angular `core` library: -You use the `ElementRef`in the directive's constructor +You use the `ElementRef` in the directive's constructor to [inject](guide/dependency-injection) a reference to the host DOM element, the element to which you applied `appHighlight`.