I want to create an file upload button with send some parameters Here is my code: it is not working for me. could you help me?
<pre>
<input type="file" name="file"
onchange="angular.element(this).scope().uploadFile(this.files,project._id, activity._id, action.name, document._id)"/>
</pre>