fix angular 1.1.5 issue