reflect widget style changes in angular directive template