angularUtils
angularUtils copied to clipboard
dirPagination: current-page re-uses old value from previous call on second call
Description of issue: seems that the previous directive does not get cleaned up after the first call AND that the re-initialization of current-page does not work correctly on the second call
Steps to reproduce:
- open page with dirPagination directive (id "test") & initialise "current-page" from variable "pagination.current"
- open page again with dirPagination directive (id "test") & initialise "current-page" from variable "pagination.current" with different value
Expected result:
- current-page value from second call is used
Actual result:
- current-page value from first call is used
same issue i am facing
same here
Can someone provide a plunker demo of this issue?