I need to set the default selected value of a radio button to 3. The code I am using is:
<div class="checkbox-group" ng-init="ac.ServiceCode=3">
<input type="radio" ng-model="ac.ServiceCode" id="acuOne" value="1" ng-change='GetAcuityLevel(1)'>
<label for="acuityone">1</label>
<input type="radio" ng-model="ac.ServiceCode" id="acuTwo" value="2" ng-change='GetAcuityLevel(2)'>
<label for="acuitytwo">2</label>
<input type="radio" ng-model="ac.ServiceCode" id="acuThree" value="3" ng-change='GetAcuityLevel(3)'>
<label for="acuitythree">3</label>
<input type="radio" ng-model="ac.ServiceCode" id="acuFour" value="4" ng-change='GetAcuityLevel(4)'>
<label for="acuityfour">4</label>
<input type="radio" ng-model="ac.ServiceCode" id="acuFive" value="5" ng-change='GetAcuityLevel(5)'>
<label for="acuityfive">5</label>
</div>
However, it always displays the value 3 as selected. When I remove the above code, it correctly shows the selected value in the radio button. My goal is to have the radio buttons pre-select a value if the service returns a value between 1 and 5, otherwise default to 3.