This is my code:
<label ng-repeat="option in product.DeliveryOptions" class="radio-inline product__filtr__form__label__input">
<input type="radio" ng-model="product.SelectedDeliveryOption" ng-change="changeDeliveryType(product)" name="inlineRadioOptions{{product.ID}}"
class="product__filtr__form__radio" value="{{option.Method}}">{{option.Description}}
</label>
This is nested ng-repeat block. Parent block is product in products. As you can see each product has SelectedDeliveryOption. For example I have two radio buttons. Values(option.Method) - "bronze" for the first and "silver" for the second. This value (ng-model="product.SelectedDeliveryOption") is "silver". But radio button isn't selected by default. I've tryed: ng-checked = "option.Method == product.SelectedDeliveryOption", but doesn't work for me.
$scope.initProductsTable = function (products) {
$scope.products = products; }
Could anyone help me?
$scope.products = productslooks like?