import './validation.scss'; | |
class ValidationCtrl { | |
static $inject = []; | |
public config: any; | |
$onInit() { | |
this.config = { | |
type: 'danger' | |
}; | |
} | |
} | |
export const xosValidation: angular.IComponentOptions = { | |
template: require('./validation.html'), | |
controllerAs: 'vm', | |
controller: ValidationCtrl, | |
transclude: true, | |
bindings: { | |
field: '=', | |
form: '=' | |
} | |
}; |