From 6e6c866de95dac83b9f0b261bbe0c64aa9fd2d72 Mon Sep 17 00:00:00 2001 From: Shai Reznik Date: Tue, 17 Oct 2017 18:03:24 +0300 Subject: [PATCH] docs(aio): changed confusing term (#19762) Controller should be decorator I believe PR Close #19762 --- aio/content/guide/styleguide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aio/content/guide/styleguide.md b/aio/content/guide/styleguide.md index 7c99853016..e6eb49e3e1 100644 --- a/aio/content/guide/styleguide.md +++ b/aio/content/guide/styleguide.md @@ -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.