I'm getting this error while trying to POST some data through angular
$scope.voteProduct = function (user_id, company_id, action) {
    $http({
        method: 'POST',
        url: '/api/v1/user/company',
        params: {
            user_id: user_id,
            company_id: company_id,
            action: action
        }
    }).then(function (response) {
        return response.data;
    });
};
and my html file:
<button ng-click="voteProduct({{ user.id }}, [[ company.id ]], 'employ')" class="btn btn-primary" role="button">Up</button>
 
    