That is a tough one. Are you completely commited to leaving? If you were a valued employee of mine I would try to see what it would take to get you to stay. But if you are dead set on leaving sit down with him in the morning and be honest. Good luck,not an easy thing to do. Just be absolutely sure you will be better off in your new position. Larger is not always better.