<div class='checkbox checkbox-info' ng-repeat="LK in Locations">
<input id="{{'Chk'+LK.id}}" value="{{LK.Location}}" type='checkbox' name='chklocation' />
<label for="{{'Chk'+LK.id}}">{{LK.Location}}</label>
</div>
<input type="button" id="save" class="btn btn-success" value="Filter" ng-click="Filter()" />
<div class="content-card doctordetails" ng-repeat="dr in doctors | filter:search|orderBy:propertyName:reverse">
<div class="row">
<div class="col-xs-12 col-md-10 col-lg-10">
<a ng-href="@Url.Content(" ~/Home/DoctorDetails/ ")?id={{dr.did}}&sid={{dr.speId}}">
<img src="{{dr.image}}" alt="" class="img-responsive">
</a>
<div class="info">
<h5><a ng-href="@Url.Content("~/Home/DoctorDetails/")?id={{dr.did}}&sid={{dr.speId}}">{{dr.drname|uppercase}}</a></h5>
<span>{{dr.education}}</span>
<p>{{dr.specialzation}}</p>
<div class="address">
<p>{{dr.address}}</p>
</div>
</div>
</div>
</div>
</div>
我有一个复选框列表。当我们选中复选框并单击按钮过滤器时,我需要以下div中按其地址字段过滤的记录。地址字段包含完整的地址,但我只需要将匹配记录作为单个或多个位置即可。