Я пытаюсь получить название категории, используя уникальный ключ firebase5, чтобы отобразить его в URL, указанном ниже.

Структура БД в базе данных
product.component.html
<a
*ngFor="let c of categories$ | async "
class="list-group-item list-group-item-action"
routerLink="/"
[queryParams]="{category: c.key}"
[class.active]="category === c.key"
>{{c.name}}</a>
product.component.ts

product.service.ts

category.service.ts

Я попробовал следующее исправление согласно firebase5, но оно у меня не сработало.
<a
*ngFor="let c of categories$ | async "
class="list-group-item list-group-item-action"
routerLink="/"
[queryParams]="{category: c.key}"
>{{ c.payload.val().name }}</a>
Буду признателен за вашу помощь.