title: get proper filepath angularjs/javascript
body: <p>I am not able to get proper file path,</p>
  
  <p>i want to add file path into my database,</p>
  
  <p>i did this with c#, but now i am using angularjs,</p>
  
  <p>here is my html page</p>
  
  <pre><code>&lt;a href="#" ID="btn"&gt;ssss&lt;/a&gt;
  &lt;input type="file"/&gt;
  </code></pre>
  
  <p>here is my jquery page</p>
  
  <pre><code>$(function () {
      $('#btn').click(function () {
          alert($('input[type=file]').val());
          return false;
  
      });
  });
  </code></pre>
  
  <p>and i tried to do this with angular and javascript,
  but not succeeded in any of them,</p>
  
  <p>i google about this an come to know it is not possible in client side,
  but i uploaded the filepath using directive in angularjs, but i am not able to get the code,</p>
  
  <p>what i need to do, i want to upload the filepath into database</p>