title: Should I refactor multiple conditions on ng-if in angularjs?
body: <p>I have this code and I'm wondering if there is a better style to write this, so that there is less logic in the view.</p>
  
  <pre><code>&lt;span ng-if="status == 'state1' || status == 'state2'"&gt;Foobar&lt;/span&gt;
  &lt;span ng-if="status == 'state3'"&gt;Baz&lt;/span&gt;
  </code></pre>