import ngModule from '../../module'; import Section from 'salix/components/section'; class Controller extends Section { constructor($element, $) { super($element, $); this.filter = { include: [ { relation: 'greugeType', scope: { fields: ['id', 'name'] } } ], order: 'shipped DESC, amount' }; } } Controller.$inject = ['$element', '$scope']; ngModule.vnComponent('vnClientGreugeIndex', { template: require('./index.html'), controller: Controller });