This is my little problem, when i'm trying to get the value from my input of type="file".
this is how i'm doing:
<tr ng-repeat="imagenDatos in tableImagenesPunto | filter: busquedaDatosPunto " >
  <td>PNG</td>
  <td>{{imagenDatos.id_puntoEmpresa}}</td>
  <td>{{imagenDatos.nombre_punto}}</td>
  <td>{{imagenDatos.direccion_punto}}</td>
  <td>
   <input type="file" name="uploadFile[]" id="inputFileServer" accept="image/png" ng-click="inputChange()" />
  </td>
  <td>{{imagenDatos.ruta_punto}}</td>
  <td>
   <button type="submit" class="btn btn-info btn-sm "  value="Upload3" ng-click="uploadFile()" id="btnSubirArchivo" role="button" data-original-title="Subir Logo">
                         <span class="glyphicon glyphicon-open-file" aria-hidden="true"></span>
   </button>
   </td>
 </tr>
And this is on the JS
$scope.uploadFile = function()
{
 var file = document.getElementById('inputFileServer').files[0];
 console.log(file);
}
The results is "undefined", how can i know what is wrong with that?