Not sure exactly how to explain it but what i am trying to do is return the amount of times "Jack" is the string attached to the winner property in my array.
function myCtrl($scope) {
$scope.data = [{
game: 1,
dnscore: 10,
bwscore: 9,
winner: "Jack"
}, {
game: 2,
dnscore: 9,
bwscore: 10,
winner: "Jill"
}, {
game: 3,
dnscore: 9,
bwscore: 10,
winner: "Jill"
}, {
game: 4,
dnscore: 6,
bwscore: 10,
winner: "Jill"
}];
};
Then be able to bind {{jackwins}} into my document. Any and all help is appreciated.