Angular ng-value doesn't work with input radio
问题 I have 3 radio inputs bound to ctrl.poiType , where ctrl is the controller and poiType is an integer. ctrl.poiType can have one of the 3 values specified by four constants (ctrl.TYPE_TRIP, ctrl.TYPE_EVENT, ctrl.TYPE_POI). So I've created three input radio, using ng-model and ng-value like this: <label class="btn btn-default"> <input type="radio" autocomplete="off" ng-value="ctrl.TYPE_TRIP" ng-model="ctrl.poiType" ng-change="ctrl.alert()"/>itinerari </label> The radio should be checked if the