The same issue was faced during development.
I followed this document: Mark images as priority
app.component.html
<img [ngSrc]="logoUrl" width="400" height="200" priority>
app.component.ts
logoUrl="/assets/images/logo.svg"