title: How to upload excel file in angular js?
body: <p>This is my template file:</p>
  
  <pre><code>&lt;form method="post" enctype="multipart/form-data"
      action="rest/fileUpload/save"&gt;
  
      &lt;div class="col-md-5"&gt;
          &lt;input type="file" class="browseFile" name="file"&gt;
      &lt;/div&gt;
      &lt;div class="col-md-4"&gt;
          &lt;input type="submit" class="btn btn-success btn-md" 
                 value="Upload" ng-click="uploadFile()" &gt;
      &lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>How do I pass the file in the uploadFile Function?</p>