salix/modules/client/front/note/index/index.js

21 lines
415 B
JavaScript

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: '<'
}
});