Using angular.
I have a label with type=checkbox and class=btn btn-default. I have set ng-model="{{vurd.vurderinger}}" and set ng-true-value="HO" and ng-false-value="".
<label type="checkbox" class="btn btn-default" ng-model="vurd.VurderingsUdfaldId" ng-true-value="'HO'" ng-false-value="''">OK</label>
It is not setting the $scope = vurd.VurderingsUdfaldId to true or false value when clicking. Is there anything about bootstrap label+input type i'm not getting?
The following example is working but is not they way i want the button to look like :
<input type="checkbox" ng-model="vurd.VurderingsUdfaldId" ng-true-value="'BO'" ng-false-value="''" />