import ngModule from '../module'; import Section from 'salix/components/section'; class Controller extends Section { constructor($element, $) { super($element, $); this.filter = { include: { relation: 'item', scope: { field: ['name', 'image'] } } }; } } ngModule.vnComponent('vnTicketPicture', { template: require('./index.html'), controller: Controller });