title: How to get index value in ng-template for primeng dropdown
body: <p>I am trying to get index value in ng-template for primeng dropdown but its giving me empty value. Here is sample code</p>
  <pre><code>&lt;p-dropdown [options]=&quot;cards&quot; [(ngModel)]=&quot;selectedCard&quot;&gt;
   &lt;ng-template let-card let-i=&quot;index&quot; pTemplate=&quot;item&quot;&gt;
    &lt;span&gt;{{i}}&lt;/span&gt;
   &lt;/ng-template&gt;
  &lt;/p-dropdown&gt;
  </code></pre>