I'm currently utilizing the wrapper located at: https://github.com/Yankovsky/nouislider-angular/blob/master/nouislider.js
for the nouislider plugin. Within my controller, I aim to access the element that I've created in the template:
<div ya-no-ui-slider='options'></div>
in order to invoke a method from the original plugin:
slider.querySelector('.noUi-pips');
After discovering this piece of code:
// allow to get noUiSlider instance from outside of that directive
that.getNoUiSlider = function() {
return noUiSliderInstance;
};
within the source code: https://github.com/Yankovsky/nouislider-angular/blob/master/nouislider.js#L58
I am curious as to how I can call it to retrieve an instance?