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 });