<div ng-controller='text'> <h4 ng-class="{'ng-cloak': !panel.title}">{{panel.title}}</h4> <p ng-style="panel.style">{{panel.content}}</p> </div>