I am currently utilizing the ng-repeat feature in AngularJS
<ul>
<li ng-repeat="question in questions" class="question list-group-item media">
<span class="question__type">{{ question.question }}</span>
<br>
<div class="btn-group question__answer justified nav-tabs">
<a class="btn {{question.type}}" ng-repeat="answer in question.answers">{{ answer }}</a>
</div>
</li>
</ul>
My goal is to transform the following section into an if statement whereby if {{question.type}} == 'radio', then justify it on the btn-group div.
<div class="btn-group question__answer justified nav-tabs">
<a class="btn {{question.type}}" ng-repeat="answer in question.answers">{{ answer }}</a>
</div>