title: Angularjs if-then-else construction in expression
body: <p>Can I somehow use if-then-else construction (ternary-operator) in angularjs expression, for example I have function $scope.isExists(item) that has to return bool value.
  I want something like this,</p>
  
  <pre><code>&lt;div ng-repeater="item in items"&gt;
      &lt;div&gt;{{item.description}}&lt;/div&gt;
      &lt;div&gt;{{isExists(item) ? 'available' : 'oh no, you don't have it'}}&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I know that I can use function that returns string, I'm interesting in possibility of using if-then-else construction into expression.
  Thanks.</p>