import ngModule from '../../module'; export default class Controller { constructor($stateParams) { this.$stateParams = $stateParams; this.filter = { order: 'created DESC', }; } } Controller.$inject = ['$stateParams']; ngModule.component('vnClientNote', { template: require('./index.html'), controller: Controller, bindings: { client: '<' } });