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