The law will only apply to successors of the current head of state, President Jose Eduardo dos Santos, who has enjoyed unfettered control of Angola's sprawling military and security institutions since taking power in 1979.