blob: 1eaea878dda68b253988a489d7e817e1804bc2cf [file] [log] [blame]
'use strict';
import {IAppConfigurtaion} from "../models/app-config";
export class AngularJSBridge {
private static _$filter:ng.IFilterService;
private static _sdcConfig:IAppConfigurtaion;
public static getFilter(filterName:string) {
return AngularJSBridge._$filter(filterName);
}
public static getAngularConfig() {
return AngularJSBridge._sdcConfig;
}
constructor($filter:ng.IFilterService, sdcConfig:IAppConfigurtaion) {
AngularJSBridge._$filter = $filter;
AngularJSBridge._sdcConfig = sdcConfig;
}
}
AngularJSBridge.$inject = ['$filter', 'sdcConfig']