I have the following relevant bit of code in my html file:
<li ng-repeat="answer in answers | orderBy:'-votes' | filter:filterPlayer ">
{{getPlayerName(answer.playerKey)}}: {{answer.response}} : {{answer.votes}} Votes
</li>
And the following bit of code in my Controller file:
$scope.filterPlayer = function(answer){
return answer.playerKey !== playerKey;
};
The problem is that the filterPlayer function is not even getting called as I have tested using console.logs and nothing gets logged in the filterPlayer function. I have looked at other stack overflow answers and jsfiddles and this appears to be the proper way to define a custom filter function and use it.