title: apply style property to ng-bind directive in angular js
body: <p>We have created the div using ng-bind directive in angular js. We are not able to apply style property to that same div</p>
  
  <pre><code>&lt;div ng-bind-html="test"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>in contrller file i defined test variable as </p>
  
  <pre><code>$scope.test="&lt;div style="background:red;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>We need to apply the style property. using CSS property i can able to do. But each time the background needs to be changed.</p>