Just want to ask what is recommended to use with Angular, standard html src
or Angular [src]
? And why?
Edit: I have following code in my html component:
<img class="logo" src="../app/media/appLogo.png">
It is fine? If not, how should I change it to work together with [src]
?
Edit2: Is there any other, better way to do it, instead of plain html src
? Or this is the best solution actually?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…