标签: javascript angularjs
例如: js:
var str = "this my mark {{a}} {{e}} {{i} {{o}} {{u}}, select one!"; $scope.tip = str;
html:
<p>{{tip}}</p>
如何使输出为this my mark {{a}} {{e}} {{i} {{o}} {{u}}, select one!?
this my mark {{a}} {{e}} {{i} {{o}} {{u}}, select one!
答案 0 :(得分:2)
将ngNonBindable属性添加到您不想编译或绑定的内容元素。
ngNonBindable