Skip to content

Instantly share code, notes, and snippets.

@adrianoxavier
Last active December 18, 2015 19:49
Show Gist options
  • Save adrianoxavier/5835367 to your computer and use it in GitHub Desktop.
Save adrianoxavier/5835367 to your computer and use it in GitHub Desktop.
Call AngularJS when input "file" changes
<input type='file' onchange="angular.element(this).scope().setImage(this)" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment