What is difference in ways of setting radio button checked=true in AngularJS
问题 If I set radio button default selection using ng-checked="$first" then it got checked. If I use ng-checked="true" radio button doesn't get checked? Kindly explain when this can happen? I cant use $first acc to my Use case 回答1: One thing to note about radio buttons once you check they cant be unchecked. You must have to provide another options. I prepared some samples for you. In 1st method eventhough i set the value to true in controller and set the value to 1 it got checked.this is the most