title: How to display text in place of number in angularjs materials silder
body: <p><a href="https://i.stack.imgur.com/4JHvQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4JHvQ.png" alt="enter image description here"></a></p>
  
  <p>What I want when you click on the slider, then on its tooltip it show text in place of the number. </p>
  
  <p>Here is the code:</p>
  
  <p><strong>HTML</strong>:</p>
  
  <pre><code>&lt;div ng-controller="AppCtrl" class="sliderdemoBasicUsage" ng-app="MyApp"&gt;
    &lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
    &lt;br&gt;
    &lt;md-content style="margin: 16px; padding:16px"&gt;
      &lt;br&gt;
      &lt;br&gt;
     &lt;md-slider flex class="md-primary" md-discrete ng-model="rating3" step="1" min="1" max="5" aria-label="rating"&gt;
        &lt;/md-slider&gt;
    &lt;/md-content&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Angular Code: </p>
  
  <pre><code>angular.module('MyApp')
  
  .controller('AppCtrl', function($scope) {
  });
  </code></pre>
  
  <p>Or you can refer the following link <a href="https://codepen.io/ankur-tiwari/pen/bVNEKJ" rel="nofollow noreferrer">https://codepen.io/ankur-tiwari/pen/bVNEKJ</a></p>