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