Radio buttons can be selected only one at a time and cannot be unchecked by the user once they are checked (unless you do programmatically). So if you want to uncheck it when it is currently selected, you can do this:
<input type="radio" ng-model="checked" value="500" ng-click="uncheck($event)" />
<input type="radio" ng-model="checked" value="1000" ng-click="uncheck($event)" />
<input type="radio" ng-model="checked" value="1500" ng-click="uncheck($event)" />
In your controller:
$scope.uncheck = function (event) {
if ($scope.checked == event.target.value)
$scope.checked = false
}
DEMO: http://jsfiddle.net/8s4m2e5e/3/
NOTE: If you really want to choose one or none from many options, you may opt for a <select>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…