diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index ea7193869b1d..bc5fefd77821 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -282,9 +282,6 @@ using `templateUrl` instead: -Great! But what if we wanted to have our directive match the tag name `` instead? -If we simply put a `` element into the HTML, it doesn't work. -
**Note:** When you create a directive, it is restricted to attribute and elements only by default. In order to create directives that are triggered by class name, you need to use the `restrict` option.