upgraded to angular 1.1.7