I'm trying to display a Bootstrap alert by following the example in the documentation. This is my HTML:
<div class='container'>
<div ng-init="alerts=[{type: 'danger', msg: 'Test'}, {type: 'success', msg: 'Another'}]">
<alert close='closeAlert($index)' ng-repeat='alert in alerts' type='alert.type'></alert>
And this is the result:

The text is not showing and clicking on x does not remove the alert. I'm not seeing any Javascript errors. I'm able to use other ui.bootstrap components such as the date picker and modal.
I'm using AngularJS 1.2.13 and ui.bootstrap 0.10.0.