I'm using AngularFaces and I want to pass an Angular JS object to an JSF bean method. I'm iterating over a table and want to put specific buttons for every iteration:
<table ng-table="tableParams">
    <tr ng-repeat="user in $data">
        <td data-title="'User id'">{{user.id}}</td>
        <td data-title="'Name'">{{user.name}}</td>
        <td data-title="'Hide User'">
            <p:commandButton value="Hide" id="hideUser" action="#{bean.hideUser({{user.id}})}"">
                <f:param name="myId" value="{{disponent.dispNr}}" />
            </p:commandButton>
        </td>
    </tr>
</table>
The important line is:
<p:commandButton value="Hide" id="hideUser" action="#{bean.hideUser({{user.id}})}">
I tried several ways, e.g.
<p:commandButton value="Hide" id="hideUser" action="#{bean.hideUser(user.id)}">
But nothings works. How can I achieve this?
 
     
    