<ion-view view-title={{data.title[type]}} cache-view="false" hide-back-button="true">
    <ion-nav-buttons side="left">
        <button class="button ion-chevron-left button-clear button-dark" ng-if="!commons.goBackIsDisable" ng-click="goBack()">&nbsp;返回</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-icon ion-ios-more" ng-if="!data.showDelete" ng-click="popover.show($event)"></button>
        <button class="button button-clear" ng-if="data.showDelete" ng-click="ok()">完成</button>
    </ion-nav-buttons>
    <ion-content>
        <div ng-if="loading" class="center init-load action-sheet-backdrop">
            <ion-spinner icon="android"></ion-spinner>
        </div>
        <ion-list show-delete="data.showDelete">
            <ion-item class="item-avatar item-remove-animate" ng-repeat="item in data.usrdata">
                <img ng-src="../../../img/panda.png">
                <span>{{item.username}}</span>
                <p>{{item.degree}}</p>
                <ion-delete-button class="ion-minus-circled" ng-click="removeItem(item)">
                </ion-delete-button>
            </ion-item>
        </ion-list>
    </ion-content>
    <script id="templates/add.html" type="text/ng-template">
        <ion-popover-view class="popver_view">
            <ion-content>
                <ion-list>
                    <ion-item class="item item-button" type="item-text-wrap" ng-click="toadd()">添加成员</ion-item>
                    <ion-item class="item item-button" type="item-text-wrap" ng-click="displayremove()">移除成员</ion-item>
                </ion-list>
            </ion-content>
        </ion-popover-view>
    </script>
</ion-view>