updated to angular v1.2.7