salix/client/client/src/credit-insurance/insurance/create/index.js

20 lines
414 B
JavaScript
Raw Normal View History

2018-05-23 12:26:51 +00:00
import ngModule from '../../../module';
class Controller {
2018-05-31 05:59:42 +00:00
constructor($filter) {
this.insurance = {
created: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm')
};
}
}
2018-05-31 05:59:42 +00:00
Controller.$inject = ['$filter'];
2018-05-23 12:26:51 +00:00
ngModule.component('vnClientCreditInsuranceInsuranceCreate', {
template: require('./index.html'),
controller: Controller,
bindings: {
client: '<'
}
});