datepicker rerender fix

https://github.com/angular-ui/bootstrap/issues/3124