Angels and Demons is a prequel. A sequel to the DaVinci Code book is being released in November, just in time to give to all your anti-Christian friends for Festivus.
All they did was recycle a medieval myth perpetrated by some “noble” families (the Medecinis were one I believe) to enhance their political standing. They needed the mythology in order to make their claim to being direct descendants of Christ.