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