Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Conversation

technohippy
Copy link
Contributor

regard data-ng-attr as ng-attr

See. #519, #560

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be special casing ng- any attribute can have a data- not just ng-

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means users cannot define their own directive using a data- attribute as a selector. Is it a spec that all data-foo attributes are taken as foo attributes in all directive selectors?

@technohippy
Copy link
Contributor Author

Maybe it is better that we eliminate all data- prefixes at compile time if possible and allowed.

@mhevery
Copy link
Contributor

mhevery commented Mar 6, 2014

we are doing some compiler refactoring and I think this change will be easier once that happens.

@mhevery
Copy link
Contributor

mhevery commented Mar 6, 2014

Closing for now.

@mhevery mhevery closed this Mar 6, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants