I am trying to set a default checkbox with a custom value.
Are you ready? <input type="checkbox" ng-model="checked" ng-init="checked=true" ng-true-value="sure" ng-false-value="nope"><br/> <tt> {{checked}}</tt><br/>
If I set it to the fact that nothing is displayed until I press the button. Is there a way so that it can be checked with a default value other than a boolean?
source share