If I were you, in the future at least, I would be requiring a potential employer to supply me with the contract before I agreed to give notice at my current position. If you are professional about it they will get it and unless they are dodgy they won't have any issue with it. I have had a couple of freelancers I worked with in the past year actually ask me for the agreement in this way and I totally respect that and have no issues with it.