Notification component with angular.js