I am using a mat-table to list the content of the users chosen languages. They can also add new languages using dialog panel. After they added a language and returned back.
// this is the dataSource this.guests = [];
this.guests.push({id: 1, name: 'Ricardo'});
// refresh the dataSource this.guests = Array.from(this.guest);