Try to move some logic to a directive
Add bower and install angular-file-uplaad using it
Add avility to upload an image for each task