用了artTemplate 和 AngularJS {{ }} 语法 冲突了,模板报错。
不知道大家有什么方法?
需要改artTemplate的 Compiler吗?
AngularJS{{}} can use ng-bind, and it will be better to use ng-bind
Go to the $interpolateProvider documentation, the answer is there.
art-template’s default native syntax is {{}}, but there are also non-native syntaxes, you can use <%%>, mainly by adding parameters when calling compilation. For details, please see the git of art-template: https://github.com/aui/arttemplate
AngularJS{{}} can use ng-bind, and it will be better to use ng-bind
Go to the $interpolateProvider documentation, the answer is there.
art-template’s default native syntax is {{}}, but there are also non-native syntaxes, you can use <%%>, mainly by adding parameters when calling compilation.
For details, please see the git of art-template:
https://github.com/aui/arttemplate