upgraded to angular 1.2.10