<div data-ng-controller="NotificationController">
    <alert data-ng-repeat="notification in getNotifications()" type="notification.type" close="close(notification)">
        {{notification.message}}
    </alert>
</div>