upgraded to angular 1.0.5