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