Bug #1756: fix datepicker issues
Fix project opening in new window (new angular version track target property)