import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { Routes , RouterModule } from '@angular/router' ; import { IonicModule } from '@ionic/angular' ; import { AlbumPage } from './album.page' ; import { SongItemModule } from '../../components/song-item/song-item.module' ; import { PreviewHeaderModule } from '../../components/preview-header/preview-header.module' ; import { ErrorComponentModule } from 'src/app/components/error/error.module' ; import { FormatArtworkUrlModule } from '../../pipes/formatArtworkUrl/format-artwork-url.module' ; import { LazyImgModule } from '../../components/lazy-img/lazy-img.module' ; import { LetModule , PushModule } from '@rx-angular/template' ; const routes = [ { path : '' , component : AlbumPage } ] ; @ NgModule ( { imports : [ CommonModule , IonicModule , ErrorComponentModule , PreviewHeaderModule , SongItemModule , RouterModule . forChild ( routes ) , LetModule , PushModule , LazyImgModule , FormatArtworkUrlModule , ] , declarations : [ AlbumPage ] , } ) export class AlbumPageModule { }