import { IComponentOptions } from 'angular';
import { WidgetCategoryProductsController } from './widget.category.products.controller';
import { BASE_PATH } from '../../core/constants';

/**
 * Define WidgetCategoryProductsComponent
 */
export const WidgetCategoryProductsComponent: IComponentOptions = {
  templateUrl: `${BASE_PATH}lib/widgets/category/widget.category.products.template.html`,
  controller: WidgetCategoryProductsController,
  controllerAs: 'ctrl',
  bindings: {
    url: '@'
  }
};
