I am trying to implement page flipping effect with turn.js in my angular application. I am encountering the following error when i try navigating to some other view in the application.
Uncaught TypeError: Cannot read property 'disabled' of undefined turn.js:1798 Uncaught TypeError: Cannot read property 'opts' of undefined turn.js:1297
I am using a directive to invoke turn js. I tried unbinding turn from dom with $("#id").unbind(). But still it is not working. Do any one have an idea on this?