I'm using the wrapper: https://github.com/Yankovsky/nouislider-angular/blob/master/nouislider.js
for nouislider plugin. And in my controller I want to get element, that I created in template:
<div ya-no-ui-slider='options'></div>
to call method from original plugin: slider.querySelector('.noUi-pips');
I found this:
// allow to get noUiSlider instance from outside of that directive
that.getNoUiSlider = function() {
return noUiSliderInstance;
};
in source: https://github.com/Yankovsky/nouislider-angular/blob/master/nouislider.js#L58
How could I call it to get an instance ?