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