Refactoring the code ...

...Refactoring the code ...

Then update the dish class, in dish.ts file, to allow a Choco-dish to have an array of comments as follows:

import { Comment } from './comment';
export class Dish {
  id: number;
  name: string;
  image: string;
  category: string;
  label: string;
  price: string;
  featured: boolean;
  description: string;
  comments: Comment[];
}