added file uploading with ngUpload