Keylogger a risk

Does anyone know how to protect keylogger passwords in ionic?