import { NgModule } from '@angular/core' ; import { SharedLinkViewComponent } from './shared-link-view.component' ; import { CommonModule } from '@angular/common' ; import { CoreModule } from '@alfresco/adf-core' ; import { RouterModule , Routes } from '@angular/router' ; import { DirectivesModule } from '../../directives/directives.module' ; import { AppCommonModule } from '../common/common.module' ; import { AppToolbarModule } from '../toolbar/toolbar.module' ; import { AppInfoDrawerModule } from '../info-drawer/info.drawer.module' ; import { CoreExtensionsModule } from '../../extensions/core.extensions.module' ; const routes = [ { path : '' , component : SharedLinkViewComponent , data : { title : 'APP.PREVIEW.TITLE' } } ] ; @ NgModule ( { imports : [ CommonModule , CoreModule . forChild ( ) , RouterModule . forChild ( routes ) , DirectivesModule , AppCommonModule , AppToolbarModule , CoreExtensionsModule . forChild ( ) , AppInfoDrawerModule ] , declarations : [ SharedLinkViewComponent ] , exports : [ SharedLinkViewComponent ] } ) export class AppSharedLinkViewModule { }