import { Router } from "@angular/router" ; import { OrderDetailService } from "./order.detail.service" ; export class AlanIonPage { constructor ( protected orderDetailService , protected router ) { } ionViewWillEnter ( ) { this . orderDetailService . syncRoute ( decodeURI ( this . router . url ) ) ; } }