angularUtils icon indicating copy to clipboard operation
angularUtils copied to clipboard

dirPagination: current-page re-uses old value from previous call on second call

Open mobidev111 opened this issue 8 years ago • 3 comments

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

mobidev111 avatar Feb 15 '17 12:02 mobidev111

same issue i am facing

singhiakshay avatar Feb 16 '17 10:02 singhiakshay

same here

v03adk avatar Feb 23 '17 06:02 v03adk

Can someone provide a plunker demo of this issue?

michaelbromley avatar Feb 24 '17 07:02 michaelbromley