Fix stylechooser variable that needs to be initialized in resolve by angular.