title: AngularJs File Upload ()
body: <p>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?</p>
  
  <pre><code>&lt;pre&gt;
     &lt;input type="file" name="file" 
      onchange="angular.element(this).scope().uploadFile(this.files,project._id, activity._id, action.name, document._id)"/&gt;
  &lt;/pre&gt;
  </code></pre>