<ol class="breadcrumb">
  <li><a ng-href="#/music">Music</a></li>
  <li><a ng-href="#/music/{{ album.artistId }}">{{ album.artist }}</a></li>
  <li class="active">{{ album.album }}</li>
</ol>

<table class="table table-striped table-hover">
  <thead>
    <tr>
      <th>Track</th>
      <th>Song</th>
      <th>Duration</th>
    </tr>
  </thead>
  <tbody>
    <tr ng-repeat="song in album.songs">
      <td>
        <button type="button" class="btn btn-xs btn-default" ng-click="play(song.songid, album.albumId)"><i class="fa fa-play"/></button>
        {{ song.track }}
      </td>
      <td><strong>{{ song.title }}</strong></td>
      <td>{{ song.minutes }}:{{ song.seconds < 10 ? '0' + song.seconds : song.seconds }}</td>
    </tr>
  </tbody>
</table>

<ol class="breadcrumb">
  <li><a ng-href="#/music">Music</a></li>
  <li><a ng-href="#/music/{{ album.artistId }}">{{ album.artist }}</a></li>
  <li class="active">{{ album.album }}</li>
</ol>

<table class="table table-striped table-hover">
  <thead>
    <tr>
      <th>Track</th>
      <th>Song</th>
      <th>Duration</th>
    </tr>
  </thead>
  <tbody>
    <tr ng-repeat="song in album.songs">
      <td>
        <button type="button" class="btn btn-xs btn-default" ng-click="play(song.songid, album.albumId)"><i class="fa fa-play"/></button>
        {{ song.track }}
      </td>
      <td><strong>{{ song.title }}</strong></td>
      <td ng-if="song.seconds < 10">
        {{ song.minutes }}:0{{ song.seconds }}
      </td>
      <td ng-if="song.seconds >= 10">
        {{ song.minutes }}:{{ song.seconds }}
      </td>
    </tr>
  </tbody>
</table>

Move ternary in template to if statements
Move ternary in template to if statements
