版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_36282409/article/details/85225909
效果图
<div ng-init="check=false">
<p><button ng-disabled="check1">按钮</button></p>
<p><input type="checkbox" ng-model="check1"/></p>
<p>{{check1}}</p>
</div>