Good Night!
I have a problem that I have not found a solution yet
First I make a query in the database that returns me some values and I play inside a table with ng-repeat
Table
<tr ng-repeat="contrato in contratos">
<td>{{contrato.NOME}}</td>
<td>{{contrato.CPF_CONTRATO}}</td>
<td>{{contrato.NUMERO_CONTRATO}}</td>
<td>{{contrato.FISICO}}</td>
<td><input type="checkbox" /></td>
</tr>
So far so good, but I need to make clicking on checkbox
I get NUMERO_CONTRATO
and pass function
on my controller
Function
$scope.PegaContrato = function () {
}