optimize angular for <=ie8