fixed $digest already in progress at element.on("changeDate", function (ev) {...