Select the color of row based on end point JSON value using AngularJS
<p>I have a program written in AngularJS, which lists the values coming from end point in rows. I want to give color of rows based on a JSON value. Angularjs plnkr link :- </p>

<p><a href="http://plnkr.co/edit/X8L5WwbIVWNzjoLxoHTg?p=preview" rel="nofollow">http://plnkr.co/edit/X8L5WwbIVWNzjoLxoHTg?p=preview</a> </p>

<p>JSON structure :- </p>

<pre><code>{
  "1": {
    "venture": "XYZ Informatics",
    "member": [
      {
        "name": "abcd",
        "email": "abcd@gmail.com"
      }
    ],
    "message": "This is good day",
    "isclicked": true
  },
  "2": {
    "venture": "BBC Informatics",
    "member": [
      {
        "name": "xyz",
        "email": "xyz@gmail.com"
      }
    ],
    "message": "This is bad day",
    "isclicked": false
  }
}
</code></pre>

<p>Output will show :- </p>

<pre><code>XYZ Informatics
BBC Informatics
</code></pre>

<p>I want to give green color of row if <code>"isclicked": true</code> and red color when <code>"isclicked": false</code></p>

<p>As an example <code>XYZ Informatics</code> row color should be green and <code>BBC Informatics</code> in red.</p>