blob: e5fbe3ff5159dd74cbde0d58524ec8133dfdefb2 [file] [log] [blame]
Matteo Scandolo828d1e82017-01-17 14:49:38 -08001import {IXosStyleConfig} from '../../../index';
Matteo Scandolof6acdbe2016-12-13 10:29:37 -08002class FooterCtrl {
Matteo Scandolo828d1e82017-01-17 14:49:38 -08003
4 static $inject = ['StyleConfig'];
5
Matteo Scandolof6acdbe2016-12-13 10:29:37 -08006 public brand: string;
7
8 /** @ngInject */
Matteo Scandolo828d1e82017-01-17 14:49:38 -08009 constructor(
10 private StyleConfig: IXosStyleConfig
11 ) {
12 this.brand = this.StyleConfig.projectName;
Matteo Scandolof6acdbe2016-12-13 10:29:37 -080013 }
14}
15
16export const xosFooter: angular.IComponentOptions = {
17 template: require('./footer.html'),
18 controllerAs: 'vm',
19 controller: FooterCtrl
20};