Undefined attribute name (ng-model) at Eclipse

后端 未结 4 1056
你的背包
你的背包 2021-02-19 04:11

My Eclipse is accusing an error in tag \"ng-model\"

My eclipse is warning the ng-model att when I save the file:





        
4条回答
  •  [愿得一人]
    2021-02-19 04:48

    Most likely you get a warning due to Eclipse's HTML5 validator. Try using data-ng-model to see if that fixes your issue. More information here: ng-app vs. data-ng-app, what is the difference?. If that doesn't help you try changing the project's properties(more here: http://blog.diniscruz.com/2014/02/using-angularjs-in-eclipse-part-1.html)

提交回复
热议问题