My Eclipse is accusing an error in tag \"ng-model\"
My eclipse is warning the ng-model att when I save the file:
When using Eclipse (Mars.1 Release (4.5.1) - and possibly earlier - I did not check).
Go to Window
- Preferences
Then in the dialog that opens go to Web
- HTML Files
- Validation
.
On the right side:
Ignore specified attribute names in validation
do the same for your custom attributes.(e.g. ng-*,my-attr-directives-*
)Ignore specified element names in validation
and enter the list of custom elements you use. (e.g. tab,tabset,my-element-directives-*
)Attributes
section, unfold it, then under Undefined attribute value:
, select Ignore
.Two things to note: