import { Component , Input } from '@angular/core' ; import { AlertController , App , MenuController } from 'ionic-angular' ; import { AuthService } from "../../providers/auth.service" ; import { BaseComponent } from "../base.component" ; import { User } from './../../models/user.model' ; @ Component ( { selector : 'custom-logged-header' , templateUrl : 'custom-logged-header.component.html' } ) export class CustomLoggedHeaderComponent extends BaseComponent { @ Input ( ) title : string ; @ Input ( ) user : User ; constructor ( public alertCtrl , public authService , public app , public menuCtrl ) { super ( alertCtrl , authService , app , menuCtrl ) ; } }