<div>
    <button class="button"  ng:click="selectPages()">{{ui.dialogSelect.title}}</button>
    <ul class="thumbnails">
        <li ng-repeat="sele in selectedPage">{{sele}}</li>
    </ul>
    <div qn:dialog="ui.dialogSelect" style="padding: 0">
        <div style="height: 400px; overflow: auto; background: #fff">
            <div qn:Jstree="treeOptions" qn:Treeobject="treeObject" ng:Model="strane">
                <ul>
                    <li ng-repeat="strana in strane"  id="{{strana.ID}}">{{strana.Title}}</li>
                </ul>
            </div>
        </div>
        <div style="margin-top: 15px">
            <button class="button lightblue" ng:click="doneSelection()"><i class="icon-ok"></i> Ok</button> or <button class="button" ng:click="cancelSeletion()">Calcel</button>
        </div>
    </div>
</div>