e71478fa4d6a86d6748b4fa6e857268afe7e7289
[sdc.git] /
1 /**
2  * Created by ob0695 on 5/9/2017.
3  */
4 /**
5  * Created by obarda on 1/8/2017.
6  */
7 'use strict';
8 import {CapabilitiesGroup} from "app/models";
9
10 export interface ICapabilitiesListScope extends ng.IScope {
11     capabilities:CapabilitiesGroup;
12 }
13
14
15 export class CapabilitiesListDirective implements ng.IDirective {
16
17     constructor() {
18
19     }
20
21     scope = {
22         capabilities: '=',
23     };
24
25     restrict = 'E';
26     replace = true;
27     template = ():string => {
28         return require('./capabilities-list-view.html');
29     };
30
31     link = (scope:ICapabilitiesListScope, element:any, $attr:any) => {
32
33     };
34
35     public static factory = ()=> {
36         return new CapabilitiesListDirective();
37     };
38 }
39
40 CapabilitiesListDirective.factory.$inject = [];