```
<div class="form-group" style="margin-top: 20px;" ng-repeat="row in skuDetails">
  <label class="checkbox-inline">
    <input type="radio" name="amount_{{$index}}" value="amount" ng-model="row.amount" ng-checked="row.reductionAmount != '' ">Reduction Amount
  </label>
  <label class="checkbox-inline" style="padding-left: 0px;">
    <input type="text" name="reductiontext" value="" ng-model="row.reductionAmount" style="width: 80px;">
  </label>
  <label class="checkbox-inline" style="padding-left: 0px;">
    <input type="radio" name="percentage_{{$index}}" value="percentage" ng-model="row.amount">Reduction Percentage
  </label>
  <label class="checkbox-inline" style="padding-left: 0px;">
    <input type="text" name="reductiontext" value="" ng-model="row.reductionPercentage" style="width: 80px;">
  </label>
</div>

```

Controller:

```
dao.getPromotion(scope.sesssionMessageObject.promotionId).then(function(response) {
  scope.responseObject = response.data.data;
  console.log(scope.responseObject);
  scope.skuDetails = scope.responseObject.skus;
});

```

Hi.I am having a problem in enabling a radio button on page Load.Problem is , When my page is loaded an api is called from controller and data is stored in skuDetails(contains name , mrp reductionAmount etc). In view i will loop through skuDetails and enable radio button Reductionamount if reductionAmount(integer) contains value. getPromotion calls api and retrieve details.But not working!