/** Angular Imports */ import { Component , OnInit } from '@angular/core' ; import { ActivatedRoute } from '@angular/router' ; @ Component ( { selector : 'mifosx-view-account-transfer' , templateUrl : './view-account-transfer.component.html' , styleUrls : [ './view-account-transfer.component.scss' ] } ) export class ViewAccountTransferComponent { viewAccountTransferData : any ; param { ActivatedRoute } route constructor ( private route ) { this . route . data . subscribe ( ( data ) => { this . viewAccountTransferData = data . viewAccountTransferData ; } ) ; } }