# Ionic/angular Input range bug (?)

**URL:** <https://forum.ionicframework.com/t/ionic-angular-input-range-bug/35008>\
**Category:** ionic-v1\
**Created:** [October 19, 2015, 7:40am UTC](https://forum.ionicframework.com/t/ionic-angular-input-range-bug/35008 "2015-10-19T07:40:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imaginet](https://avatars.discourse-cdn.com/v4/letter/i/958977/32.png) [@Imaginet](https://forum.ionicframework.com/u/Imaginet)\
**Post date:** [October 19, 2015, 7:40am UTC](https://forum.ionicframework.com/t/ionic-angular-input-range-bug/35008/1 "2015-10-19T07:40:12Z")

</div>

Hi,

I found that the range is not showing properly at startup / page load if I set the max value as binding from ng-model instead of number

work fine:

```
<input type="range" name="loadperyear_range" min="{{setup.loadperyear_min}}" max="500000" step="{{setup.loadperyear_step}}" ng-model="data.loadperyear" >

```

not working:

```
<input type="range" name="loadperyear_range" min="{{setup.loadperyear_min}}" max="{{setup.loadperyear_max}}" step="{{setup.loadperyear_step}}" ng-model="data.loadperyear" >

```

Here’s a playground trying to explain the problem I’m facing : [http://play.ionic.io/app/2f0bc4a5215f](http://play.ionic.io/app/2f0bc4a5215f)  
use the + or - on the bottom range to see the problem clearly

any advice?
