import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { CoreModule } from '@alfresco/adf-core' ; import { TrashcanComponent } from './trashcan.component' ; import { Routes , RouterModule } from '@angular/router' ; import { ContentModule } from '@alfresco/adf-content-services' ; import { AppCommonModule } from '../common/common.module' ; import { AppToolbarModule } from '../toolbar/toolbar.module' ; import { DirectivesModule } from '../../directives/directives.module' ; import { ContextMenuModule } from '../context-menu/context-menu.module' ; import { AppLayoutModule } from '../layout/layout.module' ; const routes = [ { path : '' , component : TrashcanComponent , data : { title : 'APP.BROWSE.TRASHCAN.TITLE' , sortingPreferenceKey : 'trashcan' } } ] ; @ NgModule ( { imports : [ CommonModule , CoreModule . forChild ( ) , RouterModule . forChild ( routes ) , ContentModule . forChild ( ) , DirectivesModule , AppCommonModule , AppToolbarModule , ContextMenuModule , AppLayoutModule ] , declarations : [ TrashcanComponent ] , exports : [ TrashcanComponent ] } ) export class AppTrashcanModule { }