title: Angular: Style based on property
body: <p>I want to style a div based on a bool property "isActive" on my controller.
  Is this possible with angular?</p>
  
  <pre><code>&lt;div class="col-md-3" (click)="isActive = !isActive"&gt;
      &lt;div class="center"&gt;
          &lt;i class="fa fa-calendar"&gt;&lt;/i&gt;&lt;br&gt;
          &lt;span&gt;Activate&lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>