Cuando trato de usar un data attributeen mi template, así:
<ol class="viewer-nav">
<li *ngFor="#section of sections" data-value="{{ section.value }}">
{{ section.text }}
</li>
</ol>
Angular 2 se bloquea con:
EXCEPCIÓN: Errores de análisis de plantilla: no se puede vincular a 'sectionvalue' ya que no es una propiedad nativa conocida ("
] data-sectionvalue = "{{section.value}}"> {{section.text}}
Obviamente me falta algo con la sintaxis, por favor ayuda.
angular
angular2-template
Serj Sagan
fuente
fuente

Sobre el acceso
Y
fuente