Turning in your two weeks notice can be terrifying__because no matter how well you think you know your supervisor, you can never be 100% sure of his or her reaction. Will he be furious and insist on walking you out the door immediately? Will she beg you to stay, enticing you with an enormous raise? Or will he be completely civil and wish you the best of luck?
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.