I'm currently working with Angular and attempting to implement a pagination feature.
Here is what I have so far:
Angular controller
appModule.controller('testCtrl', ['$scope', function ($scope) {
$scope.numbers = 7;
}])
html:
<button ng-repeat=' not sure what to do here'>{{number.days}}</button>
//display more buttons...
The button texts will be numbers like 1, 2, 3, 4... depending on the total number of pages from the data.
I am unsure about how to achieve this. Any assistance would be greatly appreciated.
Thank you.