update to angular 1.2.x