Add ngCordova. Show spinner dialog during file upload.