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