Use same date format for both iOS and Android

I am trying to make date format unique across Android and iOS. The date format for the HTML input field does depends upon the date picker for the OS.

I did tried implementing a directive which can modify ng-model value to defined date format, but unfortunately it didn’t worked out that way. Modifying date format of ng-model value cleared input text field with blank string.

I was just thinking do we have a plugin, which can perform this kind of operation?