update angular to 1.2.1 and upgrade other components