docs(aio): changed confusing term (#19762)

Controller should be decorator I believe

PR Close #19762
This commit is contained in:
Shai Reznik 2017-10-17 18:03:24 +03:00 committed by Tobias Bosch
parent 56774dfb79
commit fcfb1544e8
1 changed files with 2 additions and 2 deletions

View File

@ -4502,8 +4502,8 @@ helps instantly identify which members of the component serve which purpose.
**Why?** The property associated with `@HostBinding` or the method associated with `@HostListener`
can be modified only in a single place—in the directive's class.
If you use the `host` metadata property, you must modify both the property declaration inside the controller,
and the metadata associated with the directive.
If you use the `host` metadata property, you must modify both the property/method declaration in the
directive's class and the metadata in the decorator associated with the directive.
</div>