docs: fix documention for attributes directive (#24367)

fix:update documentation for attributes directive to fix error

PR Close #24367
This commit is contained in:
paulmojicatech 2018-06-08 01:06:44 -04:00 committed by Miško Hevery
parent e3064d5432
commit 7f3242affb
1 changed files with 1 additions and 1 deletions

View File

@ -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: 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, to [inject](guide/dependency-injection) a reference to the host DOM element,
the element to which you applied `appHighlight`. the element to which you applied `appHighlight`.