change to angular 1.0