Angular ng-table with Goto page : <p>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.</p>

<pre><code>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 &amp;&amp; !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 &amp;laquo;
        a(ng-switch-when="next" ng-click="params.page(page.number)" href="")
          span &amp;raquo;
</code></pre>

<p>How can I get an input control in there to work properly?</p>
