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.