updated to angular 1.2.6