jonahbron / angular-owl-carousel

**ARCHIVED**: This library is for AngularJS. Neither that framework nor this library should be used at this point in time.
43 stars 36 forks source link

remove data attribute for owl reload #8

Closed Traksewt closed 8 years ago

Traksewt commented 8 years ago

In Owl v2+, it doesn't reinitialise the owl list if the data attribute already exists. This means that if the angular item list gets updated, the owl carousel doesn't get updated properly.

This fix allows dynamic update of the angular list.

jonahbron commented 8 years ago

Thank you @Traksewt . Sorry I didn't see this before, I haven't used this module in a while and so haven't made an effort to maintain it :frowning: