Why does Code Inspect flag the Angular directive ng-model as not permissible in an HTML select element but allows the directive in other elements such as input?
In particular, Code Inspect says the ng-model directive is an "Unknown HTML tag attribute" when used in a select element. (see #1, #2, #3 below)
But the ng-model directive is accepted in the input element (#4 below).
- Why is the ng-model attribute considered unknown (by Code Inspect) in the select element?
- Why is the ng-model attribute accepted (by Code Inspect) in the input element?