I just want to list the categories of a Blog in Angular. When I use ngFor, It shows a list of the categories but is bringing in some repeated ones, like if it were bringing all the blogs and not just the categories that some of them share. Hope I was clear on this question.
This is my html:
<aside class="categories">
<h2 class="aside-title">Categorias</h2>
<ul *ngFor="let data of datas; index as i">
<li class="nav-elipse-blue"><a [routerLink]="['/pagina',datas.category]" title="Blog CSS
articles">{{ data.category.name }}</a></li>
</ul>
</aside>