title: AngularJS if statement condition in an ng-repeat
body: <p>I'm using <code>ng-repeat</code> in AngularJS</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li ng-repeat="question in questions" class="question list-group-item media"&gt;
          &lt;span class="question__type"&gt;{{ question.question }}&lt;/span&gt;
          &lt;br&gt;
          &lt;div class="btn-group question__answer justified nav-tabs"&gt;
              &lt;a class="btn {{question.type}}" ng-repeat="answer in question.answers"&gt;{{ answer }}&lt;/a&gt;
          &lt;/div&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I want to be able to make the section below into an if statement where <code>if {{question.type}} == 'radio' then justified</code> on the <code>btn-group</code> div. </p>
  
  <pre><code>        &lt;div class="btn-group question__answer justified nav-tabs"&gt;
              &lt;a class="btn {{question.type}}" ng-repeat="answer in question.answers"&gt;{{ answer }}&lt;/a&gt;
          &lt;/div&gt;
  </code></pre>