I have two checkboxes, if one is selected, he brings me the men and if I select the other he brings me the women, but I want an option where I can select the two and bring me both. I want to do that with other fields.
<body>
<div class="container" ng-controller="listadoCtrl">
<h1>Filtros</h1>
<h4>Para el ng-repeat</h4>
<hr>
<div class="row">
Busqueda:
<input type="checkbox" name="" ng-model="busqueda.sexo" ng-true-value="'mujer'" ng-false-value="''">
<input type="checkbox" name="" ng-model="busqueda.sexo" ng-true-value="'hombre'" ng-false-value="''">
{{search.woman}} {{search.man}}
<table class="table table-striped">
<tr>
<th>Avatar</th>
<th> <a class="puntero" ng-click="columna='nombre'; reverse = !reverse;"> Nombre</a> </th>
<th> <a class="puntero" ng-click="columna='sexo'; reverse = !reverse;"> Sexo</a></th>
<th>Teléfono</th>
<th>Celular</th>
</tr>
<tr ng-repeat="persona in personas | filter:{ sexo:'mujer',sexo:'hombre mujer'} | orderBy:columna:reverse ">
<td> <img ng-src="img/{{ persona.avatar }}" class="avatar img-circle"> </td>
<td> {{ min }} </td>
<td> {{ persona.sexo }}</td>
<td> {{ persona.cantidad }}</td>
<td> {{ persona.celular }}</td>
</tr>
</table>
</div><!-- fin del listadoCtrl -->
</body>