There's been a reply from the polymer team, saying that this behavior is 
indeed a particular AngularJS quirk.

https://github.com/Polymer/core-selector/issues/8#issuecomment-49399620

So the question would be, is it possible to easily change this behavior?


On Friday, July 18, 2014 12:56:33 AM UTC-5, Víctor Adrián de la Cruz 
Serrano wrote:
>
> Hello guys,
>
>
>
> I have a question; Can I change the "selected" property on any element 
> using angular?
>
>
> Here is a little demo I made to illustrate the point:
> http://jsfiddle.net/U3pVM/7106/
>
> If you type in the input box and then inspect the dom you will see that 
> the DIVs get their attributes (some-property) updated to whatever you type 
> in there.
> However the "selected" property won't.
>
>
> Is the "selected" property special for AngularJS? like trying to prevent 
> invalid markup or something for it?
>
>
> The use case for this is that I want to use Polymer + AngularJS and I'm 
> having trouble with the <paper-tabs> element because it uses an attribute 
> called "selected" to point to the current tab using a number or a name.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to