fixed file upload angular bug