This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!


By: cainrus on Jun 13th, 2013  |  syntax: HTML 5  |  size: 0.34 KB  |  views: 42  |  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">
  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