import { Component } from '@angular/core';
@Component({
selector: 'my-tuts',
template:`
{{title}}
Show Element
Red color
blue color
Invalid color
- {{color}}
`,
})
export class TutsComponent{
public title="mytitle";
public showElement=true;
public color = 'red';
public colors=['red','blue','green'];
}