import { CoreProduct } from "../models/CoreProduct"; export class GlobalSiteFooterViewController { public static NAME = "GlobalSiteFooterViewController"; public static NAME_AS = `${GlobalSiteFooterViewController.NAME} as footerController` public static $inject = ["$scope"]; public currentProduct: CoreProduct; constructor($scope: ng.IScope) { var productFolderName: string = $scope["productFolderName"]; var rootDomain: string = $scope["rootDomain"]; this.currentProduct = CoreProduct.GetFromProductFolderName(productFolderName, rootDomain); } }