You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The HTML specs do not require browsers to preserve the special attributes such as checked. (The presence of them means true and absence means false) This prevents the angular compiler from correctly retrieving the binding expression. To solve this problem, we introduce ng:checked.
The ng:disabled docs have something similar. But these aren't the only attributes whose mere presence (rather than value) determines behavior. The required attribute of input elements (introduced in html5) is one example, and I don't see a way to bind its presence to the result of an expression. I see there's ng:required, but it works differently, and begs the question (you'd have to bind its presence to an expression too). Is there currently some way to achieve this with the required attribute? With an arbitrary attribute?
P.S. Thanks for the awesome work. Angular is amazing.