what is the difference between ng-bind vs one time binding in angular

前端 未结 5 719
执笔经年
执笔经年 2020-12-02 17:17

What is the difference between \"ng-bind\" and \"one time binding\" in angular js.

If there is any difference, where should I be using each of them?

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-02 18:06

    These are not mutually exclusive concepts. You can one-time bind with ng-bind as well:

提交回复
热议问题