remove file upload logic from controller to gm_uploader_element directive
remove reusable uploader code to directive template