angularJs ng-model/ng-bind
ng-bind 与ng-model区别
ng-bind是从$scope -> view的单向绑定,也就是说ng-bind是相当于{{object.xxx}},是用于展示数据的。
ng-modle是$scope <-> view的双向绑定
EG:

博客内容主要用于日常学习记录,内容比较随意,如有问题,还需谅解!!!
ng-bind 与ng-model区别
ng-bind是从$scope -> view的单向绑定,也就是说ng-bind是相当于{{object.xxx}},是用于展示数据的。
ng-modle是$scope <-> view的双向绑定
EG:
