import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'app-index' , template : `
    <p>
      index works!
    </p>
  ` , styles : [ ] } ) export class IndexComponent implements OnInit { constructor ( ) { } ngOnInit ( ) { } }