support angular 1.3