Alberto Contador retired from racing in the best way possible , with a win .
On the penultimate day of his career , he bowed out in style as he won an emotional victory at the mountaintop finish of the infamous Alto de l'Angliru.