ng-model for checkbox不起作用?

时间:2015-08-29 14:39:59

标签: javascript angularjs

在我的Js中,我执行了初始化$scope.checked = false;,然后执行以下操作

<input ng-model="checked" type="checkbox"/>
<button ng-show="checked==true">Save</button>

但它不起作用,任何想法为什么?

0 个答案:

没有答案
相关问题