$scope.plusOne not working

$scope.plusOne = function(index) {
$scope.products[index].likes += 1;
};
this says there is a syntax error

Please provide us with a link to the exercise. Thank you.