how to set default time to html input field of type time in ionic
<p>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.</p>

<pre><code>&lt;label class="item item-input"&gt;
    &lt;span class="input-label"&gt;Time&lt;/span&gt;
    &lt;input type="time" ng-model="demoTime"&gt;
&lt;/label&gt;
</code></pre>

<p>My controller has:</p>

<pre><code>$scope.demoTime = new Date("10:45 AM");
</code></pre>