<a class="attachment-item row" ng-href="#!/attachments/{{attachment._id}}" ng-repeat="attachment in datasource">
  <div class="col-md-3">
    <img ng-if="attachment.fileType==='picture'" src="{{attachment.thumbImagePath}}" ng-click="playAttachment($event)">
    <img ng-if="attachment.fileType==='video'" src="{{attachment.path}}" width="160" height="90">
  </div>
  <div class="col-md-9">
    <commentitem attachment-id="{{attachment._id}}"></commentitem>
  </div>
</a>
<a class="attachment-item row" ng-href="#!/attachments/{{attachment._id}}" ng-repeat="attachment in datasource">
  <div class="col-md-3">
    <img ng-if="attachment.fileType==='picture'" src="{{attachment.thumbImagePath}}" ng-click="playAttachment($event)">
    <video ng-if="attachment.fileType==='video'" src="{{attachment.path}}" width="160" height="90"></video>
  </div>
  <div class="col-md-9">
    <commentitem attachment-id="{{attachment._id}}"></commentitem>
  </div>
</a>
Append thumbnails for video attachments
Append thumbnails for video attachments
