Using $index in ng-options directive in AngularJS

Last Reply 3 months ago By dharmendr

Posted 3 months ago


In below code url 

Filter DropDownList item based on condition Controller in AngularJS in ASP.Net MVC

I have done one change in product dropdown like below

<select class="input-sm form-control" select2="" ng-model="detail.Product"
    containercssclass="all" ng-options="c.PID as c.PName for c in detail.products[$index]">
    <option value="">Select Product</option>

Could you please help me with above code changes  

This question does not have replies that have been liked.