meteor-angular2.0-socially
meteor-angular2.0-socially copied to clipboard
Step 13: this.paginationService.defaultId is a function
The changes introduced in step 13, (13.8, 13.9 and 13.16, to implement pagination uses paginationService from ng2-pagination which seems to have changed its API so that the defaultId is now a function.
(Don't know how to provide a useful PR that can be applied in the midst of a history, would that be included by starting a new branch from the earliest change and then rebase the rest of the steps/changes onto it, maybe? And repeating the process for all subsequent changes...)
Like it was mentioned, it is just a typo in the tutorial. Just put the brackets at the end like so: this.paginationService.defaultId() And mark the issue as closed.