thenikso / angular-flexslider

AngularJS directive to use Woothemes' FlexSlider jQuery plugin.
MIT License
189 stars 100 forks source link

Adding custom controls-container class creates duplicates #42

Open matthewbowers opened 9 years ago

matthewbowers commented 9 years ago

I'm trying to put the nav into a custom div wrapper using controls-container=".slider-controls". When I do this I get 2 directional navs and 2 slide navs inside the slider-controls div. Only one of them works obviously.

And idea why this is happening?

Has anyone else come across this issue?

this is my slider directive...

flex-slider slide="post in postdata track by $index" animation="fade" animation-speed="100" controls-container=".slider-controls"

This is what I get... screen shot 2015-01-20 at 12 35 24 pm

Mb.

thenikso commented 9 years ago

You're probably navigating uncharted waters here. Anyway, the controls-container setting is probably not handled correctly by the angular wrapper. could you figure out a way to fix the issue?