AngularJS的数据双向绑定是怎么实现的

2025-03-20 22:01:54
推荐回答(1个)
回答1:

页面直接调用ng-model 指令来实现双向数据绑定

在controller中定义$scope.test 就可以了