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

Binding ignores object keys that begin with '$' #14057

Closed
uriva opened this issue Feb 16, 2016 · 4 comments
Closed

Binding ignores object keys that begin with '$' #14057

uriva opened this issue Feb 16, 2016 · 4 comments

Comments

@uriva
Copy link

uriva commented Feb 16, 2016

Codepen:
http://codepen.io/uriva/pen/mVoQZg

@uriva uriva changed the title Angular doesn't bind to object keys that begin with '$' Binding ignores object keys that begin with '$' Feb 16, 2016
@Narretz
Copy link
Contributor

Narretz commented Feb 16, 2016

  1. leading $ and $$ are public / private API indicators and you should not use them in your objects for that reason
  2. The codepen doesn't show the problem
  3. The pen is using a very old version of angular - it shouldn't matter in this case, but please always test with the latest stable.

@uriva
Copy link
Author

uriva commented Feb 16, 2016

Fixed codepen.

@uriva
Copy link
Author

uriva commented Feb 16, 2016

Related to #1463

@Narretz
Copy link
Contributor

Narretz commented Feb 16, 2016

Duplicate of #6266 Atm, we don't have plans to fix this and I've recently updated the repeat docs to reflect this.

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

No branches or pull requests

2 participants