Matteo Scandolo | 828d1e8 | 2017-01-17 14:49:38 -0800 | [diff] [blame] | 1 | import {IXosStyleConfig} from '../../../index'; |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 2 | class FooterCtrl { |
Matteo Scandolo | 828d1e8 | 2017-01-17 14:49:38 -0800 | [diff] [blame] | 3 | |
| 4 | static $inject = ['StyleConfig']; |
| 5 | |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 6 | public brand: string; |
| 7 | |
| 8 | /** @ngInject */ |
Matteo Scandolo | 828d1e8 | 2017-01-17 14:49:38 -0800 | [diff] [blame] | 9 | constructor( |
| 10 | private StyleConfig: IXosStyleConfig |
| 11 | ) { |
| 12 | this.brand = this.StyleConfig.projectName; |
Matteo Scandolo | f6acdbe | 2016-12-13 10:29:37 -0800 | [diff] [blame] | 13 | } |
| 14 | } |
| 15 | |
| 16 | export const xosFooter: angular.IComponentOptions = { |
| 17 | template: require('./footer.html'), |
| 18 | controllerAs: 'vm', |
| 19 | controller: FooterCtrl |
| 20 | }; |