code: function (id) {
                      _.remove(notificationsState.value(), function (notification) {
                          return notification.id === id;
                      });
                      notificationsState.save();
                  }
docs: @ngdoc function
  @name w20CoreNotifications.service:NotificationHistoryService#deleteNotification
  @methodOf w20CoreNotifications.service:NotificationHistoryService
  @param {Number} id of the notification to delete
  
  @description
  
  Delete the specified notification by id.