directives/notifications.js spec