title: how to display number with sorted list in ionic?
body: <p>I fetch overall data from database and filter data according to list.ENTUSR='kiran'. how can i display number example(1, 2, 3,.. so on) with list.</p>
  
  <pre><code>example:-&gt; 1. kiran- hello
  2. kiran - hii
  3.kiran - okkk
  </code></pre>
  
  <p>-> I need to somehow add count inside list. But I don't know how to do that.</p>
  
  <p>.ts   </p>
  
  <pre><code>this._servall.myservice(this.taskdesc).subscribe(data=&gt;
      {
      this.display=data;
      });
  </code></pre>
  
  <p>.html</p>
  
  <pre><code> &lt;ion-list no-lines *ngFor="let list of display;let i=index;" &gt;
          &lt;ion-item  text-wrap *ngIf="list.ENTUSR='kiran'"&gt;
  {{list.i}}
      {{list.ENTUSR}}
      {{list.DESCRPITION}}
      &lt;/ion-item&gt; 
      &lt;/ion-list&gt;
  </code></pre>
  
  <p>Please guide me the way to achieve this.</p>
  
  <blockquote>
    <p>Thanks for your help.</p>
  </blockquote>