angular v1.3.5 compatibility