import { Component } from '@angular/core' ; import { ModalController } from '@ionic/angular' ; @ Component ( { templateUrl : 'route-planner.html' } ) export class RoutePlannerPage { hasNavbar : boolean = false ; constructor ( public modalController ) { } close ( ) { this . modalController . dismiss ( ) ; } }