Angular 2: Difference between revisions

Jump to navigation Jump to search
237 bytes added ,  11 April 2016
Line 92: Line 92:
<div class="ui list" *ngFor="#c of cities; #num = index">
<div class="ui list" *ngFor="#c of cities; #num = index">
   <div class="item">{{num+1}} - {{c}}</div>
   <div class="item">{{num+1}} - {{c}}</div>
</div>
</syntaxhighlight>
=== <nowiki>ngNonBindable</nowiki> ===
<syntaxhighlight lang="html">
<div>
  <span class="bordered">{{content}}</span>
  <span class="pre" ngNonBindable>
    &larr; This is what {{content}} rendered
  </span>
</div>
</div>
</syntaxhighlight>
</syntaxhighlight>

Navigation menu