import { Component, inject, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { Products } from '../products.service';

@Component({
  selector: 'app-productspage',
  standalone: true,
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  imports: [],
  templateUrl: './productspage.html',
  styleUrls: ['./productspage.scss'],
})
export class Productspage {
  productService = inject(Products);

  productList = this.productService.getProductList();
}
