check if items inside ng-repeat already contains value
<p>I have JSON string of question and answer which binds in ng-repeat ,
now problem is i wants to show question once and all multiple answer within ng-repeat .
this are my data.</p>

<pre><code>{Answer:"White",AnswerID:967,answer_type:"RADIO",fullquestion:"Your Race",id:6}{Answer:"African American",AnswerID:968,answer_type:"RADIO",fullquestion:"Your Race",id:6}{Answer:"Asian",AnswerID:969,answer_type:"RADIO",fullquestion:"Your Race",id:6}
</code></pre>

<p>view i am showing in </p>

<pre><code> &lt;div ng-repeat="hrq in HrqQuestions"&gt;
            &lt;div class="list card normal"&gt;
                &lt;div class="item item-body item-divider"&gt;                    
                    &lt;p ng-bind="hrq.fullquestion"&gt;&lt;/p&gt;                       
                &lt;/div&gt;
                &lt;label class="item item-input" ng-show="hrq.answer_type=='FREETEXT'"&gt;
                    &lt;input ng-model="hrq.Answer" name="name" type="text"&gt;
                &lt;/label&gt;
                &lt;div ng-if="hrq.answer_type=='RADIO'"&gt;
                    &lt;ion-radio ng-click="selectedAnswer(hrq.AnswerID,hrq.Answer)" name="radio1" ng-value="hrq.AnswerID"&gt;{{hrq.Answer}}&lt;/ion-radio&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
</code></pre>

<p>but this binds all questions multiple times with answer like</p>

<pre><code>     Q.Your Race
           White Your Race
     Q.Your Race
           African American Your Race
     Q.Your Race
           Asian
</code></pre>

<p>but i need like </p>

<pre><code>     Q. Your Race
           White Your Race
           African American Your Race
           Asian
</code></pre>

<p>i will be very thankful if anyone can help me with this</p>