import ngModule from '../../module'; import Input from '../../lib/input'; export default class Controller extends Input { constructor($element, $scope) { super($element, $scope); this.$element = $element; this.input = $element[0].querySelector('input'); } set disabled(value) { this.input.disabled = value; } } Controller.$inject = ['$element', '$scope']; ngModule.component('vnSubmit', { template: require('./submit.html'), controller: Controller, bindings: { label: '@?', disabled: '