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

17 lines
369 B
JavaScript

import ngModule from '../../module';
export default class Controller {
constructor($state) {
this.address = {
clientFk: parseInt($state.params.id),
isActive: true
};
}
}
Controller.$inject = ['$state'];
ngModule.component('vnClientAddressCreate', {
template: require('./index.html'),
controller: Controller
});