title: AngularJS Bootstrap alert dismiss-on-timeout attribute doesn't work
body: <p>I'm trying to use AngularJS Bootstrap alerts like explained <a href="https://angular-ui.github.io/bootstrap/" rel="noreferrer">here</a> with the "dismiss-on-timeout" attribute. It has no effect in this example, the alert just appears regularly and doesn't disappear.</p>
  
  <pre><code>&lt;alert type="warning" dismiss-on-timeout="2000"&gt;Alert text&lt;/alert&gt;
  </code></pre>
  
  <p>It does however work in the ng-repeat example from the site:</p>
  
  <pre><code>&lt;alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)" dismiss-on-timeout="2000"&gt;{{alert.msg}}&lt;/alert&gt;
  </code></pre>
  
  <p>Is the problem the missing close attribute? If so, how do you write a close function for an alert that's not part of an array?</p>