How do I escape curly braces for display on page when using AngularJS?

后端 未结 8 1478
醉话见心
醉话见心 2020-11-27 02:28

I want the user to see double curly braces, but Angular binds them automatically. This is the opposite case of this question where they want to not see curly braces used fo

8条回答
  •  無奈伤痛
    2020-11-27 02:59

    Use ng-non-bindable in container, this is effective on all element inside here container.

    {{person.name}} {{person.name}}

提交回复
热议问题