fragaria / angular-daterangepicker

Angular.js wrapper for dangrossman/bootstrap-daterangepicker
MIT License
519 stars 372 forks source link

Plugin crashing when changing states #181

Closed timvandijck closed 8 years ago

timvandijck commented 8 years ago

This plugin is working fine when the page loads for the first time. However whenever I switch pages/states in my app and go back to the page with the daterangepicker it throws an error and fails to initiate: vendor.js:22615 TypeError: el.daterangepicker is not a function at _init

Not sure if this is a bug or specific to my setup?

ultimatecoder commented 7 years ago

@timvandijck I am facing exact error when I am trying to run my Protector test cases based on Angular. I am using the Angular JS 1.2.28 (Yes, we have to use it to support IE8). You closed the issue, it seems you were able to solve it. Can you guide how you solved? Thanks!