// Questo file fa parte di MyTown.
// MyTown è software libero: puoi ridistribuirlo e/o modificarlo secondo
// i termini della GNU Affero General Public License come pubblicata dalla
// Free Software Foundation, versione 3.
// Distribuito senza ALCUNA GARANZIA; vedi la GNU AGPL v3 per i dettagli.
// Copyright (C) Kondor Consulting & Services S.r.l.
// SPDX-License-Identifier: AGPL-3.0-or-later

import { NgModule, Injector } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IonicModule } from '@ionic/angular';
import { FormsModule } from '@angular/forms';
import { CartRoutingModule } from './cart-routing.module';
import { CustomTranslateLoader } from 'src/app/components/customTranslate.loader';
import { HttpClient } from '@angular/common/http';
import { CartComponent } from './cart.component';
import { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';





@NgModule({
	imports: [CommonModule,
            IonicModule,
            FormsModule,
            TranslateModule.forChild({
          loader: {
            provide: TranslateLoader,
            useClass: CustomTranslateLoader,
            deps: [HttpClient, Injector],
          },
        }),
            CartRoutingModule,],
	declarations: [CartComponent],
    providers: [
        TranslateService,
    ]
})

export class CartModule { }
