By far the best thing to carry along with a compressor is a tire plug kit. About $8 bucks at Pep Boys.
Use the compressed goo only as a last resort. As it mucks up the tire pressure sensor.
You can repair the majority of flats without even removing the tire at least until you can get to a tire shop.
2013 VW Golf TDI