Msg.color stop updating Ui Template after 4.0.2 upgrade

I figured out how to do get it to work. I suspect the way I had done was not a 'best' practice. I had to add a jquery scope watch to get the msg to update the css. Here is the code:

<script>
  scope.$watch('msg', function(msg) {
$("#color").css("color",(msg.color));
;
});
</script
1 Like