title: ng-class with multiple options
body: <p>I'm fetching data using a REST API and one of the attributes returned can be any of 3 options;</p>
  
  <p>The options are; Negative, Warning, Success.</p>
  
  <p>I want to set a <code>class</code> using <code>ng-class</code> based on the value returned;</p>
  
  <p>I'm able to do this but only for one;
  Code below;</p>
  
  <pre><code>&lt;div class="alert" ng-class="restaurantNotice(restaurant[0].notice)" ng-if="restaurant[0].notice.length"&gt;
      &lt;div class="alert-inner inner-large" ng-bind="restaurant[0].notice"&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  $scope.restaurantNotice = function(a) {
      return (a = Negative) ? 'negative' : '';
  };
  </code></pre>
  
  <p>As you can see, if <code>a = Negative</code> then a <code>class negative</code> is applied else nothing is applied.</p>
  
  <p>Now I want to check for all three options and apply 3 different classes respectively</p>