angular复选框

来源:互联网 发布:新买的mac电池循环次数 编辑:程序博客网 时间:2024/05/22 21:05






Document




{{check}}




angular.module('learnModule', []).controller('LearnCtrl', function(scope) {scope.check = 'YES';
$scope.change = function() {
alert('change');
}
});