lf-ng-md-file-input directive will return a 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.
LF © copyright