Skip to content

Instantly share code, notes, and snippets.

@monirulalom
Last active August 19, 2018 11:40
Show Gist options
  • Save monirulalom/c33b529cf88a25528e8972d7704c68fc to your computer and use it in GitHub Desktop.
Save monirulalom/c33b529cf88a25528e8972d7704c68fc to your computer and use it in GitHub Desktop.

Revisions

  1. monirulalom revised this gist Aug 19, 2018. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions interpolation.ts
    Original file line number Diff line number Diff line change
    @@ -2,9 +2,7 @@ import { Component } from '@angular/core';

    @Component({
    selector: 'my-app',
    template: `
    <h1>{{ name }}</h1>
    `
    template: `<h1>{{ name }}</h1>`
    })
    export class AppComponent {
    name: string = 'Monirul Alom';
  2. monirulalom created this gist Aug 19, 2018.
    11 changes: 11 additions & 0 deletions interpolation.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    import { Component } from '@angular/core';

    @Component({
    selector: 'my-app',
    template: `
    <h1>{{ name }}</h1>
    `
    })
    export class AppComponent {
    name: string = 'Monirul Alom';
    }