Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

ng for

      
        content_copy
      
      <li *ngFor="let user of users; index as i; first as isFirst">
  {{i}}/{{users.length}}. {{user}} <span *ngIf="isFirst">default</span>
</li>
    
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #ng
ADD COMMENT
Topic
Name
7+5 =