ettyprint" ng-non-bindable>
&lt;status-bar class=&quot;alert&quot;
  promise=&quot;examplePromise&quot; 
  options=&quot;alertConfig&quot;&gt;
  &lt;span ng-switch=&quot;$status&quot;&gt;
    &lt;strong ng-switch-when=&quot;inprogress&quot;&gt;
      Wait for it...
    &lt;/strong&gt; 
    &lt;strong ng-switch-when=&quot;success&quot;&gt;
      Woohoo!
    &lt;/strong&gt; 
    &lt;strong ng-switch-when=&quot;error&quot;&gt;
      Bummer...
    &lt;/strong&gt; 
    
    {{$value}}
  &lt;/span&gt; 
&lt;/statu