<h3>{{questionTitle || 'Questions'}}</h3>
<div class="form-inline">
  <label>Sort</label>
  <button ng-click="predicate = '-created'; questionTitle = 'Newest Questions'" class="btn btn-info btn-sm">Newest</button>
  <button ng-click="predicate = '-voteCount'; questionTitle = 'Most Popular Questions'" class="btn btn-info btn-sm">Most Popular</button>
</div>
<br>
<ul class="list-group">
  <li ng-repeat="question in questions | orderBy:predicate" class="list-group-item">
    <button ng-click="upvote(question)" class="btn btn-success btn-sm">&plus;1</button>
    <span class="badge">{{question.voteCount}}</span>
    {{question.text}} <small>&ndash;{{question.name}}</small>
  </li>
</ul>
<h3>{{questionTitle || 'Questions'}}</h3>
<div class="form-inline">
  <label>Sort</label>
  <button ng-click="predicate = '-created'; questionTitle = 'Newest Questions'" class="btn btn-info btn-sm">Newest</button>
  <button ng-click="predicate = '-voteCount'; questionTitle = 'Most Popular Questions'" class="btn btn-info btn-sm">Most Popular</button>
</div>
<br>
<ul class="list-group">
  <li ng-repeat="question in questions | orderBy:predicate" class="list-group-item">
    <div class="pull-right">
      <label style="padding: 5px;">{{question.voteCount}}</label>
      <button ng-click="upvote(question)" class="btn btn-success btn-sm pull-right">&plus;1</button>
    </div>
    <strong>{{question.text}}</strong>
    <br><small ng-show="question.name">&ndash;{{question.name}}</small>
    <label ng-hide="question.category == 'unknown'" class="label label-info">{{question.category}}</label>
  </li>
</ul>
Rearrange info in question cell
Rearrange info in question cell
