angular.js - How to solve the syntax conflict between html syntax and artTemplate template syntax in AngularJS?
漂亮男人
漂亮男人 2017-05-15 16:53:27
0
3
764

The syntax conflicts between artTemplate and AngularJS {{ }}, and the template reports an error.

I don’t know if you have any ideas?

Do I need to change the Compiler of artTemplate?

漂亮男人
漂亮男人

reply all(3)
为情所困

AngularJS{{}} can use ng-bind, and it will be better to use ng-bind

Ty80

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template