title: AngularJS : IF Statement inside "ng-repeat"?
body: <p>I'm using AngularJS <code>v1.2.9</code>.</p>
  
  <p>Inside <code>ng-repeat</code>, how do i use check the value of object and do action based on condition?</p>
  
  <p>In English, something like:<br /></p>
  
  <pre><code>if `X` is not null, then show `X`. Is it possible?
  </code></pre>
  
  <p>Here's my <code>ng-repeat</code> skeleton:</p>
  
  <pre><code>&lt;li ng-repeat="r in results"&gt;
      &lt;div&gt;{{ r.title }}&lt;/div&gt;
      &lt;div&gt;{{ r.location }}&lt;/div&gt;
      &lt;!--
      if ( r.date!=="null" ) {
          &lt;div&gt;{{ r.date }}&lt;/div&gt;
      } else {
          &lt;div&gt;Date not confirmed yet.&lt;/div&gt;
      }
      --&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I need to show <code>r.date</code> if it is not null. If it is null, then i say something else.</p>
  
  <p>Please kindly help. Thanks all.</p>