upgraded to angular v1.2.7