What I want is to match: the maximum and minimum value of the slide to the variable to filter filterModelMin.precio.
I did it this way but it throws me an error.
<rzslider rz-slider-model="slider.minValue"
rz-slider-high="slider.maxValue"
rz-slider-options="slider.options"></rzslider>
</div>
<input ng-model="filterModelMin.precio =slider.minValue">
<input ng-model="filterModelMax.precio= slider.maxValue">
<a flex ng-repeat="apartament in apartaments | dynamicFilter:Filters:this | filter:byRange('precio', filterModelMin.precio, filterModelMax.precio)| filter:{departamento:ordenSeleccionado, municipio: ordenSeleccionadomuni}" ng-href="{{ post.url }}">