fragaria / angular-daterangepicker

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

Plugin crashing when changing states #180

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?

timvandijck commented 8 years ago

This was apparently due to two version of jQuery being loaded. Everything worked fine until you moved from one page to an other.