Fix for Safari and IE to display widget buttons. widget.button was null in the ng-if for all cases.