Skip to content

Instantly share code, notes, and snippets.

@daviddt
Last active August 29, 2015 14:27
Show Gist options
  • Save daviddt/fbf4b342b21ccf618424 to your computer and use it in GitHub Desktop.
Save daviddt/fbf4b342b21ccf618424 to your computer and use it in GitHub Desktop.
import { Component, View, coreDirectives } from 'angular2/angular2';
import { Router} from 'angular2/router';
import { SayName } from '../sayname/sayname';
@Component({
selector: 'about'
})
@View({
templateUrl: './src/about/about.html',
directives: [coreDirectives, SayName]
})
export class About {
message: string;
constructor(public router: Router) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment