How can I match the value of a slider range to an angularj variable?

0

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 }}">
    
asked by Angel 13.10.2018 в 00:57
source

0 answers