nodejs と backbonejs のために WebMatrix を使用しています。私は最近angularの学習を始めました.webmatrixにangularの構文を認識させて、自分のngが不明であると言わないようにしたいです。私のコードは正常に動作しますが、面倒です。解決策はありますか?
2608 次
1 に答える
1
Technically ng-* is not a valid HTML attribute per spec, so we show an error. Luckily Angular allows you to define your attribute using data-ng-* attributes to make them valid:
http://docs.angularjs.org/guide/directive
You should be able to just use data-ng-* anywhere you're using ng-*.
Happy Coding!
于 2013-06-24T06:51:57.270 に答える