I use https://github.com/likeastore/ngDialog and https://github.com/alongubkin/angular-datepicker
And angular-datepicker doesn't work
ngDialog.open(
{ //
template: '<input type="text" pick-a-date="date" is-open="true" placeholder="Select Date" />{{date}}',
plain: true,
})
But angular-datepicker works well when it iwn't in ngDialog
jsfiddle:https://jsfiddle.net/jediserg/jfsuymsv/9/
Updated I change angular-datepicker to jquery datepicker and it doesn't work to. But I fix jquery datepicker by setting timeout on creating
window.setTimeout(function () {
self.dp = $( "#lesson-date" ).datepicker({dateFormat: "yy-mm-dd"});
}, 100);
But what can I do with angular-datepicker and why all the pickers don't work?