import { Component , OnInit } from '@angular/core' ; @ Component ( { selector : 'app-testing' , templateUrl : './testing.component.html' , styleUrls : [ './testing.component.scss' ] } ) export class TestingComponent implements OnInit { public showPopup = true ; public popup = [ { label : 'Option 1' , icon : 'fa fa-close' } , { label : 'Option 2' , icon : 'fa fa-close' } ] ; constructor ( ) { } ngOnInit ( ) { } }