I am facing a weird issue with ng-checked. I am applying it in my edit form to show selected option value but its not working. Following is my code and screen shot -
My controller code -
if( true == $scope.employee.active ) {
$scope.is_active_yes = true;
$scope.is_active_no = false;
}
else {
$scope.is_active_yes = false;
$scope.is_active_no = true;
}
});
Code in my Jade template -
.row
.control-label.col-md-3 Is Active:
.col-md-6
input(type="radio", name="active", ng-model="employee.active", value="yes" ng-checked="{{is_active_yes}}")
| Yes
input(type="radio", name="active", ng-model="employee.active", value="no" ng-checked="{{is_active_no}}")
| No
Though value is coming in my form for ng-checked but it is not applying to the markup. Let me know what I am doing wrong here ?
FYI - No error in the console and data is coming as you can check it in the screenshot.

ng-checked="is_active_yes"{{ }}in this case, as I supposed to get values in jade template we need to add this