How to pass json data received from service to an array in component in angular material for angular 4
问题 I am new to Angular 4 and angular material and i am trying to add the angular material data table with http, pagination, sorting and filtering into my dashboard component, With hard-coded array i was able to achieve filter, sort and pagination. But i am not able to pass a json data from service into the array. Any help would be appreciated. Thanks in advance..!!! Please find my code below. test.json [{ "FirstName": "Jill", "LastName": "Smith", "Score": "disqualified" }, { "FirstName": "Eve",