Click here to Skip to main content
15,905,238 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<div class="form-group" ng-repeat="optmetirc in  MetricKeyValues| filter:{ MetricDataType :'NUMBER'} |filter:{IsResponseMetric:0}| filter:{IsConvMetric :0} :true ">
                                       <div class="col-sm-6">
                                           <label class="col-sm-3 control-label" tooltip-placement="top" tooltip={{optmetirc.MetricDescription}}>{{optmetirc.MetricName}}</label>
                                       </div>
                                       <div class="col-sm-6">
                                           <input type="text" class="form-control" ng-model="optmetirc.MetricValue" mynumber>
                                       </div>
                                   </div>
                                   <label ng-model="calculatedMetric"></label>



I want 4th optmetirc.MetricValue of ngrepeat in calculatedMetric scope variable how can i achieve this
Posted
Comments
John C Rayan 10-Sep-15 4:31am    
Try with index property or element position like MetricKeyValues[n]. The problbme would be you have to b absolute sure that you have 4th element in your collection in all cases.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900