<input type="radio" ng-checked="pooledFunds.acceptPooledFunds == 1">
<input type="radio" ng-checked="pooledFunds.acceptPooledFunds == 1"> {{pooledFunds.acceptPooledFunds}} , {{pooledFunds.acceptPooledFunds == 1}}
,我必须使用{{pooledFunds打印时JSON对象分配给范围变量在我的控制器等角NG-检查不工作的无线电 - 2
$scope.pooledFunds = {"acceptPooledFunds" : 1};
值pooledFunds.acceptPooledFunds。 acceptPooledFunds}}显示1和{{pooledFunds.acceptPooledFunds == 1}}显示为true。
但单选按钮没有变成检查模式。 我已经检查了这个链接:angular ng-checked is not working for radio
它并没有帮助。
你想收音机或复选框? –
没有检查收音机。请参阅[angular docs](https://docs.angularjs.org/api/ng/input/input%5Bradio%5D)。 – jlulloav