update: angular factory for notification