title: Angular ng-if ternary operator in one span?
body: <p>So am trying to use a ternary operator to combine 2 spans as:</p>
  
  <pre><code>&lt;span ng-if="customer != null"&gt;{{ customer }}&lt;/span&gt;&lt;span ng-if="customer == null"&gt;[customer]&lt;/span&gt;
  </code></pre>
  
  <p>The switch is just based on if an id has a value or not in an input elsewhere in the form. Suggestions?</p>
  
  <p>Thanks much.</p>