【发布时间】:2017-06-18 16:19:08
【问题描述】:
在AngularJS中使用this和$scope有什么区别,this只做一种数据绑定,而$scope做两种数据绑定?
【问题讨论】:
标签: angularjs
在AngularJS中使用this和$scope有什么区别,this只做一种数据绑定,而$scope做两种数据绑定?
【问题讨论】:
标签: angularjs
Angular 对 $scope 进行了它对 this 不做的额外处理。
请参阅Angular: Should I use this or $scope 了解更多信息。
【讨论】: