Many heart patients have to take multiple heart meds. I wonder what effect that would have on your kidneys if they're already compromised. And taking a pill or two isn't enough. There's losing weight, stopping smoking, exercise, changing eating habits and reducing sodium intake. It's a huge process to stop the progress of heart disease.
I think ed is right, the heart comes first and if it's in bad shape it may contribute to your kidney problems. They need good circulation too. If the heart goes, the rest doesn't matter.
Is your kidney problem not being caused by heart problems?
If you are having attacks, then there is obviously something seriously wrong with your coronary arteries. I would be putting my heart first because the next attack could be the big one. If your cardiologist is worth anything, you will already be on the best medication to help your heart such as beta blockers, and nitrates to keep your arteries open.