Ваш отредактированный стек: https://stackblitz.com/edit/github-fc2cyw-wtqvd4
Измените URL-адрес стиля с table.component. html на table.component. css
@Component({
selector: 'app-table',
styleUrls: ['table.component.html'],
templateUrl: 'table.component.css',
animations: [
trigger('detailExpand', [
state('collapsed', style({height: '0px', minHeight: '0'})),
state('expanded', style({height: '*'})),
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)')),
]),
],