Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { Component } from 'angular2/core';
@Component({
selector: 'component-placeholder',
templateUrl: 'app/example.template.html',
styleUrls: [ 'app/example.css' ]
})
export class ExampleComponent {
public message = 'Hello from component!';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment