Answer the question
In order to leave comments, you need to log in
Is it possible to create a variable inside ng-repeat?
Hello! We have some code like this:
<div ng-repeat="deliveryType in deliveryTypes">
<div ng-if="shop.getPropertiesForDeliveryType(deliveryType)">
<div>{{shop.getPropertiesForDeliveryType(deliveryType).price}}</div>
<div>{{shop.getPropertiesForDeliveryType(deliveryType).comment}}</div>
<div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question