Angular 4: Data Binding String Interploation

Add a variable ‘name’ to app.component.ts like this,

export class AppComponent {
name: string = "Johnnie";
}

There reference it in app.component.html using double curly brackets,

<div>
{{ name }}
<div>