Thursday, August 24, 2017

app.component.ts

import { Component } from '@angular/core';

@Component({
   selector: 'pm-root',
   template: `
   <div><h1>{{pageTitle}}</h1>
      <pm-products></pm-products>
   </div>
   `
})

export class AppComponent {
   pageTitle: string  = 'Product Management';
}

No comments: