I want to assign my string date to ui-date
my view
<input ng-switch-when="datePicker" type="text" ui-date-format ui-date class="form-control" ng-model="field.value" />
and my date string "12/12/2015"
but I got this error "Error: ng-Model value must be a Date object - currently it is a string - use ui-date-format to convert it from a string"
Please someone help me, thank