lf-ng-md-file-input directive will return an array via lf-files attribute binding, the object in array contain two object are lfFile and lfDataUrl, that you can grab file and preview dataurl easily.
The lf-submit attribute specifies a callback function that will be triggered when clicking on submit button.
LF © copyright