1 import {Component, OnInit} from '@angular/core';
2 import {StaffCatalogService} from './catalog.service';
3 import {BasketService} from '@eg/share/catalog/basket.service';
6 templateUrl: 'catalog.component.html'
8 export class CatalogComponent implements OnInit {
11 private basket: BasketService,
12 private staffCat: StaffCatalogService
16 // Create the search context that will be used by all of my
17 // child components. After initial creation, the context is
18 // reset and updated as needed to apply new search parameters.
19 this.staffCat.createContext();