如何在bootstrap模式中打开ui-sref链接

时间:2017-03-24 18:51:56

标签: html angularjs twitter-bootstrap angular-ui-bootstrap

在我开始之前,我想提前多多感谢你的帮助。因此,在我的情况下,我想在bootstrap模式中打开ui-sref链接,这意味着在模态中显示ui-sref。在我的代码下面:

<ul class="friend-list">
          <li class="bounceInDown" style="margin-left:5px;" ng-repeat="conversation in ctrl.conversations" ui-sref-active="active" ui-sref="user-app.inbox.messages({ convID: conversation.id })">
              <a  class="clearfix" style="cursor: pointer;">
                  <img ng-src="{{conversation.author.image}}" alt="user and company profil image for messages" class="img-circle" style="margin-right: 15px;"></img>
                  <div class="friend-name">
                      <strong>{{conversation.author.name}}</strong>
                  </div>
            </div>
      </ul>
  

此ui-sref链接将打开包含消息的列。

0 个答案:

没有答案