remove gm uploader element outside ngSwitch to share files with parent scope in upload