angular-pdf-viewer
angular-pdf-viewer copied to clipboard
Text Selection
It throws error when i am trying to integrate in my ionic app. Is it mandatory to include all libraries in ionic?
Unfortunately I've never worked with ionic. Can you be more specific? What kind of error (message, file and line number)?
To be honest I haven't touched this lib in a while so I probably won't be able to help much, but mentioning the actual error you are getting might be helpful. Who knows, somebody else might be able to answer your question :)
Hi, Thanks for your reply. I have attached error log screen for your reference. https://drive.google.com/open?id=1RTx1hXo1bea5Te6pcJcmlvQNnqfD9byP
As far as I can tell this error has nothing to do with text selection. Are you sure you are binding your pdfViewerAPI scope variable to the directive like this: https://github.com/jdryg/angular-pdf-viewer/blob/master/partials/demo.html#L130
Other than that I have no idea what might cause the error. Maybe a newer angularjs version than the one used in the demo (just a shot in the dark but it might affect the order and timing of variable bindings)? Try commenting the code until it works to see what's really causing the issue.
Sure. Let me check my version.
I have checked my version. Both versions are same.