View By :
<input type="checkbox" name="filter" />All
<input type="checkbox" name="filter" />name
<input type="checkbox" name="filter" />type
<span class="displayphones">{{ phone | filter:? }}</span>
here i have 3 check boxes, by default it has to display all. while selecting the checkbox, it
should display the appropriate results but i dont know how to pass the checkbox value to filters without repeating ng-model like this
View By :
<input type="checkbox" name="filter" ng-model="all" />All
<input type="checkbox" name="filter" ng-model="name" />name
<input type="checkbox" name="filter" ng-model="type" />type
<span class="displayphones">{{ phone | filter:all:name:type }}</span>
is it possible to do this in some other way???