import ngModule from '../module'; import Section from 'salix/components/section'; export default class Controller extends Section { preview(order) { this.selectedOrder = order; this.$.summary.show(); } } ngModule.component('vnOrderIndex', { template: require('./index.html'), controller: Controller });