import { Component , OnInit } from 'angular2/core' ; @ Component ( { selector : 'home' , template : `<h1>Home</h1>` } ) export class HomeComponent implements OnInit { constructor ( ) { } ngOnInit ( ) { } }