I have a database where I need to filter by gender. The current setup is functioning properly.
However, when I try to filter by gender, both male and female are showing up because female includes the word "male". If I select female, then male disappears.
You can check my jsfiddle link here
<select name="" id="" ng-model="test.filterByGender">
<option value="">Filter By Gender</option>
<option value="female">Female</option>
<option value="male">Male</option>
</select>