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

23 lines
493 B
JavaScript

import ngModule from '../../module';
import Section from 'salix/components/section';
import './style.scss';
export default class Controller extends Section {
constructor($element, $) {
super($element, $);
this.filter = {
order: 'created DESC',
};
}
}
Controller.$inject = ['$element', '$scope'];
ngModule.component('vnClientNote', {
template: require('./index.html'),
controller: Controller,
bindings: {
client: '<'
}
});