title: How send object in datatables function with Angularjs
body: <p>i have this code :</p>
  
  <pre><code>    vm.dtColumns = [
       DTColumnBuilder.newColumn('').withTitle('Tipo').renderWith(function(input) {
                  return input = '&lt;input class="form-control input-xs" type="text" style="max-width: 60px"/&gt;'
              }).notSortable(),
  
              DTColumnBuilder.newColumn(null).withTitle('Grupo').renderWith(function (data, type, full) {
                  // console.log(angular.element('grupo-' + data.pos).val());
                  return data = '&lt;input id="grupo-' + data.pos + '" ng-model="this.grupo_' + data.pos + '" class="form-control input-xs" type="text" style="max-width: 40px"/&gt;'
              }).notSortable(),
  
              DTColumnBuilder.newColumn('oferta').withTitle('Oferta').renderWith( function(data) {
                  return data = '$ &lt;input id="oferta-' + data.pos + '" class="form-control input-xs" type="text" style="max-width: 80px" value="'+ data +'"/&gt;' 
              }).notSortable(),
  
              DTColumnBuilder.newColumn(null).withTitle('Link').renderWith(function (data, type, full) {
                  return data = '&lt;a href="javascript:void(0)" class="btn btn-secondary" role="button" ng-click="vm.generateLink(\'' + data.influencer.id + '\' , \'' + data.influencer.username + '\' , ' + data.ppr + ')" href=""&gt;&lt;i ng-hide="vm.creatingLink" class="fas fa-link"&gt;&lt;/i&gt; &lt;i ng-show="vm.creatingLink" class="fas fa-circle-notch fa-spin"&gt;&lt;/i&gt;&lt;/a&gt;';
              }).notSortable(),       
  
          ];
  </code></pre>
  
  <p>this is the photo: </p>
  
  <p><a href="https://i.stack.imgur.com/cHwmR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cHwmR.png" alt="enter image description here"></a></p>
  
  <p>now i have a problem with the data, i need send the data of the person selected to the function when i click the icon link</p>
  
  <p>i try send the object data but datable it cant, </p>
  
  <p>this is the buttom:</p>
  
  <pre><code>ng-click="vm.generateLink(\'' + data.influencer.id + '\' , \'' + data.influencer.username + '\' , ' + data.ppr + ')" 
  </code></pre>
  
  <p>i send the data 1 for 1, but i dont know how send the data of the input (Tipo, grupo, oferta) to the <code>generateLink() function</code></p>
  
  <p>any idea?</p>