I'm using ng-table to setup a custom pagination control. I want to have an input that only allows valid page numbers. I have the existing pagination so far.
script(type="text/ng-template" id="ng-table-pagination-input")
div(class="ng-cloak ng-table-pager" ng-if="params.data.length")
br
ul(ng-if="pages.length" class="pagination ng-table-pagination")
li(ng-class="{'disabled': !page.active && !page.current, 'active': page.current}" ng-repeat="page in pages" ng-switch="page.type")
a(ng-switch-when="prev" ng-click="params.page(page.number)" href="")
span «
a(ng-switch-when="next" ng-click="params.page(page.number)" href="")
span »
How can I get an input control in there to work properly?