Datepicker directive issues #1080
Description
Hi all,
I've started using this directive, and I can see some inconsistency between options from datepicker and the popup version.
In addition, and it's just my opinion, the code looks over complicated for the functionality it has, so I think it'd be worthy a refactor of it.
Nevertheless there is one very critical issue with this directive. I'm using the popup version in a web page with more than 50 fields (hidden by default, but they're there), and every time we use the directive a new datepicker element is appended so this is slowing down too much the rendering phase.
I think it shouldn't be that difficult, just create one date picker for popups and reuse it all along the textboxes which call it...
So, if you really think it's worthy, I can try to do my best to improve this directive, but you know... it'll be a huge work and I don't wanna spend several hours on doing it and then get that you have in mind either a better solution or another kind of refactor.
Cheers!