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