Mat Paginator of Mat Tabledoesn't work with api data
问题 I've seen similar questions, but nothing seems to work for me. I have a mat table where I display data from an api. But I don't know how to iterate through the 'dataSource'. Below is my code, and how I get the data when I check console log. ts file import {AfterViewInit, Component, OnInit, ViewChild} from '@angular/core'; import {Pokemon, PokemonData} from '../../models/pokemon'; import {PokemonService} from '../../models/services/pokemon.service'; import {ActivatedRoute} from '@angular