import {AbstractRecordServiceItemController} from "./abstract-service-item.class"; import {YConfig as IYConfig} from "init/yConfig"; class YRecordServiceCtrlItem extends AbstractRecordServiceItemController { isSerialFlow : boolean; /*@ngInject*/ constructor(OrderFactory : any, AnalyticsService : any, localStorageService : any, UrlService : any, protected YConfig: IYConfig) { super(OrderFactory, AnalyticsService, localStorageService, UrlService); this.isSerialFlow = this.YConfig.settings.isSerialFlow; } } angular .module('y.record.service') .component('YRecordServiceItem', { templateUrl : 'directive/record/service/service-item/service-item.html', controller : YRecordServiceCtrlItem, bindings : { config : '<' } });
Обсуждают сегодня