9 export interface ITagScope extends ng.IScope {
18 export class TagDirective implements ng.IDirective {
33 template = ():string => {
34 return require('./tag-directive.html');
37 link = (scope:ITagScope) => {
39 scope.onDelete({'uniqueId': scope.tagData.id});
43 public static factory = ()=> {
44 return new TagDirective();
49 TagDirective.factory.$inject = [];