create onToChange and onFromChange change method to ion.rangeSlider.js. onToChange only returns a value when the toValue of the slider changes. The onFromChange only returns a value when the fromValue of the slider changes