Correct controller.setFile call
Extract PngImage from index.html to pngimage.js
Angularize file signature