angular 1.3.x breaking change fix