Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: cainrus on Jun 13th, 2013  |  syntax: HTML 5  |  size: 0.34 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <img data-ng-model="book.image"
  2.         class="bookPoster"
  3.         style="width: 300px; height: 200px;"
  4.         ng-src="data:image/png;base64,iVBORw0K...SuQmCC">
  5.  
  6.     <input data-tb-image-loader=".bookPoster" type="file" name="image" id="image" accept="image/png, image/jpeg"/>
  7.     <a data-ng-click="save(book)" class="btn">Submit</a>
clone this paste RAW Paste Data