Added check for preview iframe visibility before trying to reload it
Added support for ng-class binding