11 lines
240 B
TypeScript
Raw Normal View History

2016-05-18 15:53:13 +02:00
import { Component } from '@angular/core';
import { ValidateDirective } from './shared';
2016-05-18 15:53:13 +02:00
@Component({
selector: 'sg-app',
template: '<input type="text" tohValidate>',
directives: [ValidateDirective]
})
export class AppComponent { }