import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'app works!';
}

import { Component } from '@angular/core';

export class Recipe {
  id: number;
  name: string;
}

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  title = 'Ryourisho';
  recipe: Recipe = {
    id: 1,
    name: 'Warabi Mochi'
  };
}

Change title of app and add Recipe class
Change title of app and add Recipe class
