I am new to Ionic, I am using html input field of type time for getting time picker in Ionic, I want to set some default time to that input field. I tried the following code.
<label class="item item-input">
<span class="input-label">Time</span>
<input type="time" ng-model="demoTime">
</label>
My controller has:
$scope.demoTime = new Date("10:45 AM");