Skip to content

Instantly share code, notes, and snippets.

@huytrongnguyen
Created April 8, 2018 02:13
Show Gist options
  • Save huytrongnguyen/25c595b0cd9bd65129040b71373856c8 to your computer and use it in GitHub Desktop.
Save huytrongnguyen/25c595b0cd9bd65129040b71373856c8 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
import template from './app.component.html';
@Component({
selector: 'my-app',
template,
})
export class AppComponent {
constructor() {
this.title = 'Tour of Heroes';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment