title: Set ng-model of input type text, on the basis of multiple record and a condition
body: <pre><code>json = [ 
   question-list:{
     question-Text: "the car more than 25 years old",
     answer-list:[
      {answerDisplayText: "58",answered:true},         
      {answerDisplayText: "", answered:false}]
     }
  ]
  </code></pre>
  
  <p>so i want fill the input text box with <code>"answerDisplayText"</code>  using the <code>ng-repeat</code> if answered is <code>true</code> in answer list else will be blank.</p>