Control of spin angular momentum in quasi-phase-matched material.