I my writing universal slider directive for my app, and i need to specify that for example a control buttons in HTML code like this:
<div class="slide-wrapper" data-sample-values="{prevbtn: '.previous', nextbtn: '.next'}"></div>
How can i get this values into directive as object properties for example?
Or maybe there is another way to do resuable directive? And how i can isolate this elements from parent scope?