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

21 lines
415 B
JavaScript
Raw Normal View History

2018-05-23 12:26:51 +00:00
import ngModule from '../../module';
2017-06-03 11:01:47 +00:00
export default class Controller {
2018-07-16 06:00:04 +00:00
constructor($stateParams) {
this.$stateParams = $stateParams;
this.filter = {
order: 'created DESC',
};
2017-06-03 11:01:47 +00:00
}
}
2018-07-16 06:00:04 +00:00
Controller.$inject = ['$stateParams'];
2018-05-23 12:26:51 +00:00
ngModule.component('vnClientNote', {
template: require('./index.html'),
2017-06-03 11:01:47 +00:00
controller: Controller,
bindings: {
client: '<'
}
2017-06-03 11:01:47 +00:00
});