<table id="table_{{$id}}">
  <tr>
  	<td>
	  <select class="select01"
	  		  data-ng-attr-size="{{lineNumber}}"
	  		  ng-model="selected_filename.name"
	          ng-options="file.name as file.name for file in filenames">
	  </select>
  	</td>
	<td>
	  <button id="{{cmdAddId}}" 
	  		  ng-if="theField01.mode!='readonly'" 
	  		  ng-click="addFile()" ng-show="!lockUi" ng-disabled="objectId==null || (readonlyWhenSet && selected_filename.name!=null)" >
	  		  <img src="img/common/16px-List-add.png" ng-show="!lockUi">
	  </button>
	  <button id="cmdRemove_{{$id}}" ng-if="theField01.mode!='readonly'" 
	  		  ng-click="removeFile()" ng-show="!lockUi" ng-disabled="objectId==null || selected_filename==null || (readonlyWhenSet && selected_filename.name!='')">
	  		  <img src="img/common/16px-List-remove.png"></img>
	  </button>
	  <img src="img/common/wait.gif" ng-show="lockUi"></img>
	    
	  <button ng-click="download()" color="black" ng-disabled="selected_filename==null" >Voir</button>
	  
	  <input type="file" id="{{singleFileSelectorId}}"
             onchange="angular.element(this).scope().fileSelected();" 
             style="display:none;"></input>
	  <input type="file" id="{{multipleFileSelectorId}}" multiple
	         onchange="angular.element(this).scope().fileSelected();" 
	         style="display:none;"></input>
	</td>	 
  </tr>	
</table>
