fixed browser auto-expand $digest bug