From 0f41a5254a05b25904d8c3e423dd8ef138b83f4a Mon Sep 17 00:00:00 2001 From: Yi EungJun Date: Thu, 28 May 2015 19:11:08 +0900 Subject: [PATCH] docs(guide/Directives): Use data-ng-model Use data-ng-model instead of data-ng:model which is accepted for legacy reason. The next "Normalization" section is saying: > Best Practice: Prefer using the dash-delimited format (e.g. ng-bind for > ngBind). If you want to use an HTML validating tool, you can instead use the > data-prefixed version (e.g. data-ng-bind for ngBind). The other forms > shown above are accepted for legacy reasons but we advise you to avoid > them. --- docs/content/guide/directive.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index a3fad11a06d0..b5939f320f03 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -51,7 +51,7 @@ In the following example, we say that the `` element **matches** the `ngM The following also **matches** `ngModel`: ```html - + ``` ### Normalization