import { Component } from '@angular/core' ; import { ViewController } from 'ionic-angular' ; @ Component ( { templateUrl : 'about-popover.html' } ) export class PopoverPage { constructor ( public viewCtrl ) { } close ( ) { this . viewCtrl . dismiss ( ) ; } }