Maybe this is helpful:
The Sutta’s teach that Avijja refers to:
- not knowing the four noble truths (SN56.17, MN9, SN12.2, SN38.9)
- not understanding the khandha’s, i.e. what they are, their origin, their cessation, the path to their cessation, their gratification, their side-effects/dangers, their escape (SN22.113, SN22.126, SN22.129, SN22.131)
It is also used in the context of contact. If there is contact and something felt, and the notion I am arises, this is called avijja-contact (SN22.47, SN22.81). Often based upon this mental proliferation happens.
Avijja also exist as anusaya and asava. I do not think one can say that moha exist as anusaya and asava. Avijja as anusaya is related to neutral feeling. The arising, cessation, gratification, danger and escape of neutral feeling is most of the time ignored. Neutral feeling are experienced as a kind of normal and are not seen arising etc. They get no attention and are most of the time not investigated, unlike pleasant and unpleasant feelings which get much attention and investigation. We know how to get pleasant feelings, for example. In ignoring neutral feelings, taking them for granted, or experiencing them as a kind of basic feeling, then the avijja anusaya becomes stronger (MN148, SN36.6)
I tend to agree with @Mkoll that moha is a way to talk about avijja in active sense, like kilesa is a way to talk about defilement in an active sense and anusaya in latent sense. A tendency like dosa (dosa-anusaya) does not have to be triggered to be present in a latent way. But when it is triggered, dosa is present in an active way and is then experienced by the mind as being present (at least when there is mindfulness etc).
Avijja is also related to meritorious activity (SN22.51). It says:
“Bhikkhus, if a person immersed in ignorance generates a meritorious volitional formation, consciousness fares on to the meritorious; if he generates a demeritorious volitional formation, consciousness fares on to the demeritorious; if he generates an imperturbable volitional formation, consciousness fares on to the imperturbable. But when a bhikkhu has abandoned ignorance and aroused true knowledge, then, with the fading away of ignorance and the arising of true knowledge, he does not generate a meritorious volitional formation, or a demeritorious volitional formation, or an imperturbable volitional formation. Since he does not generate or fashion volitional formations, he does not cling to anything in the world. Not clinging, he is not agitated. Not being agitated, he personally attains Nibbāna. He understands: ‘Destroyed is birth, the holy life has been lived, what had to be done has been done, there is no more for this state of being.’
So, having meritorious volitional activity does not mean this kind of kamma must be based upon wisdom. For example, one can still have a strong notion of I am doing good things and expacting good fruits for this I am.
But for avijja to disappear we must first be introduced in the four noble truths and all these 7 aspects of the khandha’s (see above). First we must have some basic knowledge or understanding to end suffering in a wise way.