I'm using the ngx-pagination package in an Ionic with Angular application.
As you can see in the attached Stackblitz, I created a custom component which receives two input params currentStep and totalItems. We start in the HomeComponent page. If we click the "ClickMe" button, we go to the InstructionsPage, which makes use of the custom pagination template. The thing is that, if I press the "Go back" button, I return to HomeComponent but, if I press the "ClickMe" button again, an error is thrown.
