Skip to content

Instantly share code, notes, and snippets.

@afirdousi
Created June 26, 2017 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afirdousi/871d894980538dc1029724d37d56dd64 to your computer and use it in GitHub Desktop.
Save afirdousi/871d894980538dc1029724d37d56dd64 to your computer and use it in GitHub Desktop.
@Component({
selector: 'my-app',
template: `
<div>
<h2>Hello {{name}}</h2>
<my-custom-input [label]="'Name'">
<input type="text">
</my-custom-input>
</div>
`,
})
export class App {
name:string;
constructor() {
this.name = `Angular! v${VERSION.full}`
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment