The ability to use ng-model
was introduced in ui-bootstrap-tpls-0.11.0.js
, as explained in the changelog:
Both
pagination
andpager
are now integrated withngModelController
.
*page
is replaced withng-model
*on-select-page
is removed sinceng-change
can now be used
Before:
<pagination page="current" on-select-page="changed(page)" ...></pagination>
After:
<pagination ng-model="current" ng-change="changed()" ...></pagination>
Since you are using ui-bootstrap-tpls-0.10.0.min.js
, you need to use the old syntax - with page
instead of ng-model
:
<pagination page="currentPage" total-items="totalIdeas"></pagination>