Skip to content

Instantly share code, notes, and snippets.

@squadwuschel
Last active October 31, 2016 12:18
Show Gist options
  • Save squadwuschel/bd1fe3386239929610220e5fd9ce3791 to your computer and use it in GitHub Desktop.
Save squadwuschel/bd1fe3386239929610220e5fd9ce3791 to your computer and use it in GitHub Desktop.
Angular 2.1.1 app.component.ts
import { Component } from '@angular/core';
@Component({
selector: 'my-app',
template: '<h1 class="well well-sm text-center">Hello World to - {{name}}</h1>'
})
export class AppComponent {
public name : string = "SquadWuschel";
constructor() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment