title: angularjs if statements?
body: <p>So I'm running through the tutorial for AngularJS:</p>
  
  <p>I have an array defined in the controller and i'm returning different points in the array by calling when i'm looping through ng-repeat {{feature.name}} {{feature.description}}</p>
  
  <p>What i don't understand is lets say i have a third point in the array called "importance" and it's a number from 1 to 10. I don't want to display that number in the html but what i do want to do is apply a different color to the feature if that "importance" number in the array is 10 vs 1</p>
  
  <p>so how do i write an if statement to do this:</p>
  
  <p>i.e.</p>
  
  <pre><code>&lt;p style="**insert if statement: {{if feature.importance == 10}} color:red; {{/if}} **"&gt;{{feature.description}}&lt;/p&gt;
  </code></pre>
  
  <p>no idea if that's right but that's what i want to do</p>