<div ng:controller="ArticleMainController" class="row-fluid" id="body-main" qn:fillheight>
    <h1 class="app-name" data-ng-bind="$resource('utility.aktuelnosti')"></h1>
    <div class="scrollable">
        <input type="search" class="form-control app-search" ng:model="searchLibraries" placeholder="{{$resource('utility.search')}}" />
        <div class="scrollable-content">
            <div class="list-group">
                <section>
                   <nav role="navigation">
                       <ul class="cd-pagination" style="cursor: pointer !important">
                           <li class="button"><a ng:disabled="!pager.canPrev()" ng:click="pager.prev()">Prev</a></li>
                           <span class="current">{{pager.from}}-{{pager.to}} of {{pager.total}}</span>
                           <li class="button"><a ng:disabled="!pager.canNext()" ng:click="pager.next()">Next</a></li>
                       </ul>
                    </nav>
                </section>
                <a ng-repeat="article in articles | filter : searchLibraries" href="mobile/#!/marticle/{{article.ID}}" class="list-group-item">
                    {{article.Title}} <i class="fa fa-chevron-right pull-right"></i>

                </a>
            </div>
        </div>
     
   </div>
</div>
