summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/ecomp-footer/ecomp-footer.ts
blob: f104926fc68ece193f87146e38e6bce59a0981db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
'use strict';
import {IAppConfigurtaion} from "app/models";

export interface IEcompFooterDirectiveScope extends ng.IScope {

}

export class EcompFooterDirective implements ng.IDirective {

    constructor(private sdcConfig:IAppConfigurtaion) {

    }

    public replace = true;
    public restrict = 'E';

    public scope = {};

    template = ():string => {
        return require('./ecomp-footer.html');
    };

    link = (scope:IEcompFooterDirectiveScope, $elem:JQuery, attr:any) => {

    };

    public static factory = (sdcConfig:IAppConfigurtaion)=> {
        return new EcompFooterDirective(sdcConfig);
    };

}

EcompFooterDirective.factory.$inject = ['sdcConfig'];