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

fix($compile): bind ng-attr-* even if unbound attribute follows ng-attr-* #7861

Closed
wants to merge 1 commit into from

Conversation

caitp
Copy link
Contributor

@caitp caitp commented Jun 16, 2014

TEST PR Just want to make sure this works on IE8...

Previously, 's "foo"
attribute would always equal "bar", because the bound version was overwritten.
This CL corrects this behaviour and ensures that the ordering of attributes
does not have an effect on whether or not ng-attr-bound attributes do their
work.

Closes #7739

…tr-*

Previously, <element ng-attr-foo="{{binding}}" foo="bar"></element>'s "foo" attribute would always
equal "bar", because the bound version was overwritten. This CL corrects this behaviour and ensures
that the ordering of attributes does not have an effect on whether or not ng-attr-bound attributes
do their work.

Closes angular#7739
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