标签: html angular
主要想法是根据所选的ID显示图片:
<div *ngIf="t"> <h2>{{t.name}} details!</h2> <h3>{{t.description}}</h3> <img src="images/inside/1.jpg" class = "grid grid-pad"> </div> instead of 1.jpg i would like to use t.filename? How can i do this?