Angular – routerLink – Focus

I’m having trouble with focus on routerLink. The first line shows the perfect URL with the theoretical focus but doesn’t focus on anything. The second line focus well but reloads the complete page. What can I do to use routerLink and focus on a specific input? Origin: Component1 <a [routerLink]="’first’" fragment="name"> first </a> <a href="{{… Read More Angular – routerLink – Focus

Why does a proprety call {{hero.name}} work in a <h> but not in a <img>

In the template, the following code works normally: <h3>{{hero.name}}</h3> or even: <a routerLink="/details/{{hero.id}}">{{hero.name}}</a> But when it comes to the following image path: <img [src]="’/pictures/{{hero.name}}’ | getDownloadURL" /> It is interpreted as a string, as in the error message: ERROR FirebaseError: Firebase Storage: Object ‘pictures/{{hero.name}}’ does not exist. (storage/object-not-found) Even though the picture is accessible through:… Read More Why does a proprety call {{hero.name}} work in a <h> but not in a <img>