angular-ui/ui-date — pull request #84 by vidalraphael (2014-06-23 15:40:15+00:00)
Title: Changed the "destroy-create" logic in the initDateWidget function.

Changed the "destroy-create" logic to a more classy and bug-free "create-or-update" logic in the initDateWidget function. The first one was giving me an error whenever I needed to update the options object (with or without angular's two-way data-binding). The second aproach corrected this bug keeping the original functionality of fully updating the widget.