up.isOpen" ng-click="selectGrp(groupId)" class="accordion-item">
          <accordion-heading>
            <i class="glyphicon glyphicon-pencil"
               ng-click="editGroup(groupId, $event)"></i>
            <label>{{group.name}}</label>
            <i class="pull-right glyphicon"
               ng-class="{
                      'glyphicon-chevron-down': groupId == currGrpId,
                      'glyphicon-chevron-right': groupId != currGrpId}"></i>
          </accordion-heading>
          <ul clas