title: upload image with jasny-bootstrap extension angularjs
body: <p>Did Someone try to upload a image in angularjs with jasny-bootstrap extension?</p>
  
  <p>I use <a href="http://jasny.github.io/bootstrap/javascript/#fileinput" rel="nofollow">http://jasny.github.io/bootstrap/javascript/#fileinput</a></p>
  
  <p>That's the code </p>
  
  <pre><code>&lt;div class="fileinput fileinput-new" data-provides="fileinput"&gt;
              &lt;div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;"&gt;&lt;/div&gt;
              &lt;div&gt;
                &lt;span class="btn btn-default btn-file"&gt;
                  &lt;span class="fileinput-new"&gt;Select image&lt;/span&gt;
                  &lt;span class="fileinput-exists"&gt;Change&lt;/span&gt;
                  &lt;span class="fileinput-upload" ng-click=""&gt;Upload&lt;/span&gt;
                  &lt;input type="file" name="..."&gt;
                &lt;/span&gt;
                &lt;a href="#" class="btn btn-default fileinput-exists" data-dismiss="fileinput"&gt;Remove&lt;/a&gt;
              &lt;/div&gt;
            &lt;/div&gt;
  </code></pre>
  
  <p>I want to upload a file selected on the server when click Upload.</p>
  
  <p>Some advice?</p>