title: ionic conditional text color
body: <p>I want to show different color for the name of a person if he is Present or Absent.
  working in ion view </p>
  
  <pre><code>&lt;ion-view view-title="{{employee.firstName }}"&gt;
      &lt;ion-content has-header="true" padding="true"&gt;
          &lt;div ng-style="{{employee.tStatus}} === 'Present' ? {  color:'green' } : { color:'red'}"&gt; {{employee.name }}&lt;/div&gt;
      &lt;/ion-content&gt;
  &lt;/ion-view&gt;
  </code></pre>
  
  <p>And its not working in any way
  Any recommendation please</p>