Angular data binding issues ng-value does'nt seems to work
<pre><code> &lt;label class="item item-input"&gt;
    &lt;span class="input-label"&gt; Gender : &lt;/span&gt;
   &lt;input type="text" value="{{results.address}}" ng-model="formData.address"&gt;
 &lt;/label&gt;
</code></pre>

<p>I want to place data coming from my API in the text field so that it can be changed later and I am using ng-model to bind the input data to the form so that it can be sent to API for making a change.</p>

<p><strong>But I am getting an empty text field in a text box. value doesn't seem to be working and I have checked changing value to ng-value</strong> </p>

<p>When i used this code below everything is working pretty fine ! this means i have no problem in my controller ! i am getting a correct address from my API.</p>

<pre><code> &lt;label class="item item-input"&gt;
    &lt;span class="input-label"&gt; Gender : &lt;/span&gt;
   &lt;input type="text"  ng-model="formData.address"&gt;"{{results.address}}"
 &lt;/label&gt;
</code></pre>

<p>While using ng-value i am getting error !</p>

<pre><code> &lt;label class="item item-input"&gt;
                    &lt;span class="input-label"&gt; Gender : &lt;/span&gt;
                    &lt;input type="text" ng-value="{{results.address}}" ng-model="formData.address"&gt;
                &lt;/label&gt;
</code></pre>