title: angularjs Prepopulate input text inside ng-repeat directive
body: <p>We have input text to be shown with pre filled values. We are using list using ng-repeat directive</p>
  
  <pre><code> &lt;ul ng-repeat="post in postList&gt;
     &lt;input type="text" ng-model="postid" nginit="postid='{{post.id}}'"&gt;&lt;/input&gt;
   &lt;/ul&gt;
  </code></pre>
  
  <p>This question <a href="https://stackoverflow.com/questions/10610282/angularjs-value-attribute-on-an-input-text-box-is-ignored-when-there-is-a-ng-m?rq=1">AngularJS - Value attribute on an input text box is ignored when there is a ng-model used?</a> tells to how to prepopulate input text.
  But somehow we are finding it difficult using inside dynamic list.
  Can we do like this or there is any better approach?</p>
  
  <p>When we this code we dont get any value in the text box but on checking in elements tab of developer console of chrome; we can see value is getting updated but not in the text box.</p>