Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs(guide/Directives): Use data-ng-model #11960

Closed
wants to merge 1 commit into from

Conversation

eungjun-yi
Copy link
Contributor

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.

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

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.
@eungjun-yi
Copy link
Contributor Author

I signed it!

@googlebot
Copy link

CLAs look good, thanks!

petebacondarwin pushed a commit that referenced this pull request Jun 1, 2015
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.

Closes #11960
netman92 pushed a commit to netman92/angular.js that referenced this pull request Aug 8, 2015
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.

Closes angular#11960
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants