I have the following HTML below in my app.
<p class="input-group">
<input ng-model="myDate" datepicker-popup="MM/dd/yyyy"
is-open="isopen" />
<span style="cursor:pointer" ng-click="opendate($event)" class="input-group-addon input-sm"><i class="glyphicon glyphicon-calendar"></i></span>
</p>
I would like to have the ngModel populated when the user enters the date in the format 4.3.2015 or 4.3.15 , but currently i am getting ngModel as undefined.
How can i tell the datepicker to accept other date formats as well?
Please check this plunkr http://plnkr.co/edit/t1f9AkHeKzvyPTQNzvxf?p=preview, This works in Chrome but not in IE . You can type 4.4.15 in chrome and it works, the same does not work in IE
M.d.yyyyord.M.yyyy?4.3.15supposed to be "April 3, 2015" or "4 March 2015" or "2004 March 15" or ...?datepicker-popupis the name of the datepicker directive so without that it won't try to look forng-model. Share your code with us so others can duplicate the problem to better understand what you're trying to do and where you're going wrong.