title: Prime NG - Dropdown With Icons
body: <p>Can an icon be placed on each item in a drop-down menu, if the options on it contain the name of the icon and the name of the item?</p>
  
  <p>this code of Prime NG is not working for me: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p-dropdown [options]="cars" [(ngModel)]="selectedCar2" [style]="{'width':'150px'}" filter="true"&gt;
      &lt;ng-template let-item pTemplate="selectedItem"&gt;
          &lt;img src="assets/showcase/images/demo/car/{{item.label}}.png" style="width:16px;vertical-align:middle" /&gt;
          &lt;span style="vertical-align:middle; margin-left: .5em"&gt;{{item.label}}&lt;/span&gt;
      &lt;/ng-template&gt;
      &lt;ng-template let-car pTemplate="item"&gt;
          &lt;div class="ui-helper-clearfix" style="position: relative;height: 25px;"&gt;
              &lt;img src="assets/showcase/images/demo/car/{{car.label}}.png" style="width:24px;position:absolute;top:1px;left:5px"/&gt;
              &lt;div style="font-size:14px;float:right;margin-top:4px"&gt;{{car.label}}&lt;/div&gt;
          &lt;/div&gt;
      &lt;/ng-template&gt;
  &lt;/p-dropdown&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>My options for dropdown:</p>
  
  <pre><code>{  
     "id":17,     
     "configurationItem":{  
         "id":18,
         "icon":"ui-icon-view-list",
         "name":"View-List",         
      },     
  }
  </code></pre>
  
  <p>I want show the name and value of "icon" in a </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span class="configurationItem.icon"&gt;</code></pre>
  </div>
  </div>
  </p>