You initially thought is to get your ex boyfriend back when a breakup occurs. This is only normal since you were afraid you might have lost him for good. Making no move at all is the best move you can take to win him back very fast. As much as possible put as much distance between the two of you. I realise this contradict all of your instincts and will be difficult to really do this. It's even more difficult if there were so much heated words exchanged. Your intentions will be to apologize and tell him you are sorry about what you said, however he is not going to listen to you. Leave him alone for now and save yourself a lot more heart break. To make your ex boyfriend realize how much he still loves you, you need to give him space and time.
As much as possible you need to stop thinking about your ex boyfriend. Get in touch with relatives and friends you've abandoned at the time of the relationship. They'll be excited to see you and help you with all the support you need. Make yourself look good by treating yourself to a makeover at a good salon and buying new clothes. Be committed to yourself and you'll feel yourself getting back together again. And soon, all things will seem possible and your hopes on winning your ex boyfriend back will be renewed.
Give your ex boyfriend space for a few weeks to experience his life without you and that will make him realize what he gave up. Sooner than you expect, he'll start missing you and start reminiscing of all of the good times you both shared. At this time his feeling will take a hit. He will start thinking that you might find someone else and he could lose you for good. When he starts think this way, it will make him realize how much he still loves you.
He might want to test the water by sending you an email. He will determine if you are still interested in him by how soon you reply. Don't make the mistake of jumping right on it and reply right away, he will feel relax and believe he has nothing to worry about. Therefore don't answer it. This is not ignoring him. A lot of people don't check their email regularly.
What he would do next is to call. Don't pick the call, allow him call a few times and leave a message. Then call him back and act as if you are suprise to hear from him. His suggestion might be you meet for a conversation. Do not turn him down but agree with him, however let him know you have so much things going at the moment and you will have to call him some other time. This lets him know that he is not your top priority any longer and he'll have to wait his turn. When you do this you're in charge and it will make him want to get you back anxiously.