module Sfx { export class ThemeController extends ControllerWithResolver { constructor ( $injector , private themeSvc ) { super ( $injector ) ; } public getActiveThemeName ( ) { return this . themeSvc . getActiveThemeName ( ) ; } public changeToTheme ( name ) { this . themeSvc . changeToTheme ( name , true ) ; } } ( function ( ) { let module = angular . module ( "themeController" , [ "themeService" ] ) ; module . controller ( "ThemeController" , [ "$injector" , "theme" , ThemeController ] ) ; } ) ( ) ; }