Question: how can I reset file input in IE, I used the following and it worked in chrome and FF but not IE 

`fileInputElement.value=""`

what's the alternative in IE ?

Answer: 
You can't reset the File input by itself. What you can do is wrap your File input in a `<form id="form_id">` tag and reset the form. With jQuery you can do `$('#form_id')[0].reset();` and in JavaScript you can do `document.getElementById('form_id').reset()`.
With **IE 10** I resolved the problem with :

```
    var file = document.getElementById("file-input");
    file.removeAttribute('value');
    file.parentNode.replaceChild(file.cloneNode(true),file);

```

where :

```
<input accept="image/*" onchange="angular.element(this).scope().uploadFile(this)" id="file-input" type="file"/>

```