<div class="im_history_pinned_wrap" ng-if="pinnedMessageID > 0">
  <a class="im_history_pinned_hide" ng-mousedown="hidePinned()"><i class="icon icon-reply-bar"></i><i class="icon icon-reply-bar"></i></a>
  <a class="im_history_pinned_message" my-reply-message="pinnedMessageID" watch="true"></a>
</div>