title: ng5-slider change the min and max values based on conditions
body: <p>I have used ng5-slider to show the options range on my website. I have one issue with it. Which is</p>
  <p><a href="https://i.stack.imgur.com/mEdNx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mEdNx.png" alt="enter image description here" /></a></p>
  <p>default value is &quot;Any&quot;. The requirement I have is when I click on 1 up to 5+ &quot;Any&quot; option should not be included in the selected range.</p>
  <p>For example, when you click 3 it should only display or mark 1 to 3 but at the moment it will mark all the way from any to 3. if you select &quot;Any&quot; option it should no alow so a range but only that option.</p>
  <p>The current behavior</p>
  <p><a href="https://i.stack.imgur.com/wvX80.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wvX80.png" alt="enter image description here" /></a></p>
  <p>Expected behavior</p>
  <p><a href="https://i.stack.imgur.com/Ejxtz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ejxtz.png" alt="enter image description here" /></a></p>
  <p>stackbitz : <a href="https://stackblitz.com/edit/ng5-slider-range-slider-example-wa1szn?file=src/app/app.component.ts" rel="nofollow noreferrer">https://stackblitz.com/edit/ng5-slider-range-slider-example-wa1szn?file=src/app/app.component.ts</a></p>
  <p>I need your expert's idea.</p>