fix issues related to angular changes in 1.3.rc4