title: Angular, Javascript, PHP
body: <p>This is the html file and the code  </p>
  
  <pre><code>&lt;ul class="list"&gt;
      &lt;li id="numword" data-score="{{item.score}}" class="" ng-repeat="item in words track by $index"&gt;
          {{item.word}} {{item.score}}
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>This is how it looks in html</p>
  
  <pre><code>&lt;li&gt;nice 0.4&lt;/li&gt;
  &lt;li&gt;sad -0.2&lt;/li&gt;
  &lt;li&gt;modest 0&lt;/li&gt;
  </code></pre>
  
  <p>This is the js file in angular</p>
  
  <pre><code>$http.get('select.php') .success(function(data){ $scope.words = data; })
  </code></pre>
  
  <p>This is the database</p>
  
  <p>I have value of words and scores, every word has own score that is in number</p>
  
  <p>My question is: <code>data-score="{{item.score}}"</code> i got values of 0.4, 0.2, -0.1, 0...</p>
  
  <p>I need to check if value is greater than 0, equal to 0 and less to 0 in order to add classes to li. </p>
  
  <p>How can i do that ?</p>