Skip to content

Commit 4aab70b

Browse files
petebacondarwinjamesdaily
authored andcommitted
docs(guide/directive): add note about HTML case-insensitivity
Closes angular#4719
1 parent 0cdf167 commit 4aab70b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/guide/directive.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ The following also **matches** `ngModel`:
5656
Angular **normalizes** an element's tag and attribute name to determine which elements match which
5757
directives. We typically refer to directives by their case-sensitive
5858
{@link http://en.wikipedia.org/wiki/CamelCase camelCase} **normalized** name (e.g. `ngModel`).
59-
However, in the DOM, we refer to directives by case-insensitive forms, typically using
60-
{@link http://en.wikipedia.org/wiki/Letter_case#Computers dash-delimited} attributes on DOM elements
61-
(e.g. `ng-model`).
59+
However, since HTML is case-insensitive, we refer to directives in the DOM by lower-case
60+
forms, typically using {@link http://en.wikipedia.org/wiki/Letter_case#Computers dash-delimited}
61+
attributes on DOM elements (e.g. `ng-model`).
6262

6363
The **normalization** process is as follows:
6464

0 commit comments

Comments
 (0)