Prepare for It. The best way to prepare for this reaction is to simply know your stance ahead of time by determining if you would even consider a counteroffer. Yes, it may be more money or a better title, but there's more to consider__including your career goals, level of job satisfaction in your current role, and the opportunities that your new role offers.
You'll have plenty of time to vent personally about your work grievances as you leave, but really, you stand to gain nothing by putting negativity into your resignation letter. And unless you're leaving the state and your current industry, you always run the risk of running into the same people later on. So you're far better off taking the high road and making sure your exit is a classy one.