angular-flexslider
angular-flexslider copied to clipboard
Possible conflict with Angular UI Bootstrap
I wanted to use this with a project I started. I began with John Papa's Hot Towel template (https://github.com/johnpapa/HotTowel-Angular) and that includes Angular UI Bootstrap stuff with it (https://angular-ui.github.io/bootstrap/).
When I tried to use the flex slider, I got an error that basically said that two different things were trying to overwrite "slider". I think that they are both using a directive for slider and thus they conflict. I ended up stripping out the angular flex piece (sadly) because one of them had to go.
If I'm right, you could probably resolve this by adding a prefix to the directive? If that does work, it would probably be a breaking change to the folks already using it... There might be some clever way to handle that though. If I had understood the root cause at hte time, I would have probalby renamed the directive on my own just to see if that solved it, but I just had no idea what was going on :).
I hope this is useful.
See the Readme.md file. If you add the flex-slide directive instead of the slide directive it should resolve the conflict.