title: See input range value as it changes with Angular 2
body: <p>Yes, this will be a noob question, because I'm a complete noob in Angular 2.</p>
  
  <p>I'm trying to pass the value of a range to my component, I already figured out how. But now, I think that would be nice to see the value during the change and not while the change is made. I hope you understand what I'm trying to explain.</p>
  
  <p>in app.component.html</p>
  
  <pre><code>&lt;form action="#"&gt;
      &lt;input type="text" placeholder="Time"&gt;&lt;br&gt;
      ram: {{ selectedRam }}
      &lt;input #ramSelector name="ram" type="range" min="0" max="{{ ramMaxValue }}" (change)="setRam(ramSelector.value)" value="0"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>in app.component.ts</p>
  
  <pre><code>setRam(value){
      this.selectedRam = value;
      console.log(this.selectedRam);
  }
  </code></pre>
  
  <p>I found there is this "oninput" method, but didn't work.</p>
  
  <p>Thansk in advance!</p>