import { NgModule } from '@angular/core' ; import { CommonModule as NgCommonModule } from '@angular/common' ; import { RouterModule , Routes } from '@angular/router' ; import { FormsModule as NgFormsModule , ReactiveFormsModule , } from '@angular/forms' ; import { CommonModule } from '../../common/common.module' ; import { LegacyModule } from '../legacy/legacy.module' ; import { ModalsModule } from '../modals/modals.module' ; import { MindsFormsModule } from '../forms/forms.module' ; import { MarketingModule } from '../marketing/marketing.module' ; import { ExperimentsModule } from '../experiments/experiments.module' ; import { HomepageV2Module } from '../homepage-v2/homepage.module' ; import { HomepageContainerComponent } from './container.component' ; import { DiscoverySharedModule } from '../discovery/discovery-shared.module' ; import { DefaultFeedModule } from '../default-feed/default-feed.module' ; const routes = [ { path : '' , component : HomepageContainerComponent } ] ; @ NgModule ( { imports : [ NgCommonModule , RouterModule . forChild ( routes ) , NgFormsModule , ReactiveFormsModule , CommonModule , LegacyModule , ModalsModule , MindsFormsModule , MarketingModule , ExperimentsModule , DiscoverySharedModule , HomepageV2Module , DefaultFeedModule , ] , declarations : [ HomepageContainerComponent ] , } ) export class HomepageModule { }