salix/modules/client/front/address/create/index.js

17 lines
369 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 {
constructor($state) {
this.address = {
2017-05-18 11:27:45 +00:00
clientFk: parseInt($state.params.id),
isActive: true
};
}
}
2017-06-03 11:01:47 +00:00
Controller.$inject = ['$state'];
2018-05-23 12:26:51 +00:00
ngModule.component('vnClientAddressCreate', {
template: require('./index.html'),
controller: Controller
2017-06-03 11:01:47 +00:00
});